• unknown's avatar
    Bug#33275 Server crash when creating temporary table mysql.user · a3126bfc
    unknown authored
    When creating a temporary table that uses the same name as the mysql
    privs table the server would crash on FLUSH PRIVILEGES.
    
    This patches corrects the problem by setting a flag to ignore any
    temporary table when trying to reload the privileges.
    
    
    mysql-test/r/grant.result:
      Test for checking shadowing of privilege tables
    mysql-test/t/grant.test:
      Test for checking shadowing of privilege tables
    sql/sql_acl.cc:
      Set flag for ignoring temporary tables when trying to reload privileges.
    a3126bfc
grant.result 51.6 KB