1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-27 05:56:07 +03:00
Files
mariadb/mysql-test/suite
Mats Kindahl be0acc4bcb Bug #38773: DROP DATABASE cause switch to stmt-mode when there are temporary tables open
When executing a DROP DATABASE statement in ROW mode and having temporary
tables open at the same time, the existance of temporary tables prevent
the server from switching back to row mode after temporarily switching to
statement mode to handle the logging of the statement.

Fixed the problem by removing the code to switch to statement mode and added
code to temporarily disable the binary log while dropping the objects in the
database.

mysql-test/extra/binlog_tests/database.test:
  Added test to ensure that DROP DATABASE does not affect the replication mode.
mysql-test/suite/binlog/r/binlog_database.result:
  Result file change.
sql/sql_db.cc:
  Removed code that clears the current_stmt_binlog_row_based flag.
  Added code to disable the binary log while dropping the objects
  in a database.
2008-08-20 10:06:50 +02:00
..
2008-05-30 11:12:07 +02:00
2008-07-09 20:55:23 +02:00
2008-05-15 18:01:13 +02:00
2008-08-04 07:04:47 +02:00
2008-08-04 07:04:47 +02:00
2008-08-06 18:41:27 +08:00
2008-08-04 07:04:47 +02:00
2008-02-22 16:14:27 +01:00