mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
23d032c34e
When using CREATE TEMPORARY TABLE LIKE to create a temporary table, or using TRUNCATE to delete all rows of a temporary table, they did not set the tmp_table_used flag, and cause the omission of "SET @@session.pseudo_thread_id" when dumping binlog with mysqlbinlog, and cause error when replay the statements. This patch fixed the problem by setting tmp_table_used in these two cases. (Done by He Zhenxing 2009-01-12) mysql-test/suite/binlog/r/binlog_tmp_table.result: Add test case for BUG#35583 mysql-test/suite/binlog/t/binlog_tmp_table.test: Add test case for BUG#35583 sql/sql_delete.cc: set thd->tmp_table_used when truncate temporary table sql/sql_table.cc: set thd->tmp_table_used when using create like to create temporary tables |
||
---|---|---|
.. | ||
binlog_auto_increment_bug33029.result | ||
binlog_base64_flag.result | ||
binlog_database.result | ||
binlog_grant.result | ||
binlog_innodb.result | ||
binlog_innodb_row.result | ||
binlog_killed.result | ||
binlog_killed_simulate.result | ||
binlog_mix_innodb_stat.result | ||
binlog_multi_engine.result | ||
binlog_old_versions.result | ||
binlog_row_binlog.result | ||
binlog_row_ctype_cp932.result | ||
binlog_row_ctype_ucs.result | ||
binlog_row_drop_tmp_tbl.result | ||
binlog_row_innodb_stat.result | ||
binlog_row_insert_select.result | ||
binlog_row_mix_innodb_myisam.result | ||
binlog_start_comment.result | ||
binlog_statement_insert_delayed.result | ||
binlog_stm_binlog.result | ||
binlog_stm_blackhole.result | ||
binlog_stm_ctype_cp932.result | ||
binlog_stm_ctype_ucs.result | ||
binlog_stm_drop_tmp_tbl.result | ||
binlog_stm_innodb_stat.result | ||
binlog_stm_insert_select.result | ||
binlog_stm_mix_innodb_myisam.result | ||
binlog_stm_ps.result | ||
binlog_stm_row.result | ||
binlog_tmp_table.result | ||
binlog_unsafe.result |