• unknown's avatar
    A patch for BUG#31418: User locks misfunctioning after · 3ca34c10
    unknown authored
    mysql_change_user().
    
    The problem was that THD::ull was not reset in THD::cleanup().
    
    The fix is to reset it.
    
    
    sql/sql_class.cc:
      Reset THD::ull after cleanup to prevent memory corruption.
    tests/mysql_client_test.c:
      Add test case for BUG#31418.
    3ca34c10
mysql_client_test.c 469 KB