• unknown's avatar
    Bug#17137 Running "truncate table" on temporary table leaves the table open on a slave · 07a39b8d
    unknown authored
     - Decrease "slave_open_temp_tables" during reopen of truncated table.
     - Add test "rpl_trunc_temp" 
    
    
    sql/sql_delete.cc:
      Decrease "slave_open_temp_tables" after temporary table has been closed, it will be
      increased again when the temp table is reopened after it's been truncated.
    mysql-test/r/rpl_trunc_temp.result:
      New BitKeeper file ``mysql-test/r/rpl_trunc_temp.result''
    mysql-test/t/rpl_trunc_temp.test:
      New BitKeeper file ``mysql-test/t/rpl_trunc_temp.test''
    07a39b8d
rpl_trunc_temp.result 592 Bytes