mariadb/BitKeeper
unknown 9286d1c145 Prevent adding 'CREATE TABLE .. SELECT' query to the binary log when the
insertion of new records partially failed. It would get logged because of the
logic to log a partially-failed 'INSERT ... SELECT' (which can't be rolled back
in non-transactional tables), but 'CREATE TABLE ... SELECT' is always rolled
back on failure, even for non-transactional tables. (Bug #6682)
(Original fix reimplemented after review by Serg and Guilhem.)


mysql-test/t/insert_select.test:
  Add test case for Bug #6682
mysql-test/r/insert_select.result:
  Add results for test case for Bug #6682
sql/sql_table.cc:
  moved tmp_disable_binlog() and reenable_binlog macros to sql/sql_class.h
sql/sql_insert.cc:
  disable binlog during call to super's ::send_error in select_create class
sql/sql_class.h:
  add select_create::send_error()
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2004-12-03 00:05:11 +01:00
..
etc Prevent adding 'CREATE TABLE .. SELECT' query to the binary log when the 2004-12-03 00:05:11 +01:00
triggers bugs-aware post-commit trigger 2004-03-25 13:29:12 +01:00
post-outgoing post-outgoing BitKeeper file /home/sasha/src/bk/mysql/BitKeeper/post-outgoing 2000-10-18 18:50:38 -06:00