• unknown's avatar
    BUG#21096: locking issue ; temporary table conflicts. · 4ed1ce6f
    unknown authored
    The problem was that during DROP TEMPORARY TABLE we tried to acquire
    the name lock, though temporary tables belongs to one connection, and
    no race is possible.
    
    The solution is to not use table name locking while executing
    DROP TEMPORARY TABLE.
    
    
    mysql-test/r/temp_table.result:
      Add result for bug#21096: locking issue ; temporary table conflicts.
    mysql-test/t/temp_table.test:
      Add test case for bug#21096: locking issue ; temporary table conflicts.
    sql/sql_table.cc:
      Do not use table name locking while executing DROP TEMPORARY TABLE.
    4ed1ce6f
temp_table.result 3.73 KB