-
Venkatesh Duggirala authored
Problem: When Slave SQL thread detects that Master was restarted with the help of information sent by Master through 'FormatDescription' event, slave SQL drops all the opened temporary tables inorder to have proper cleanup. While slave SQL thread is dropping the temporary tables, it is not decrementing Slave_open_temp_tables count. Fix: Set slave_open_temp_tables=0 in close_temporary_tables(thd).
Venkatesh Duggirala authoredProblem: When Slave SQL thread detects that Master was restarted with the help of information sent by Master through 'FormatDescription' event, slave SQL drops all the opened temporary tables inorder to have proper cleanup. While slave SQL thread is dropping the temporary tables, it is not decrementing Slave_open_temp_tables count. Fix: Set slave_open_temp_tables=0 in close_temporary_tables(thd).
Loading