1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug#19066 (DELETE FROM inconsistency for NDB):

Under row-based replication, DELETE FROM will now always be
replicated as individual row deletions, while TRUNCATE TABLE will
always be replicated as a statement.
This commit is contained in:
mats@mysql.com
2006-06-01 11:53:27 +02:00
parent aa47bfa986
commit 321d9d842f
38 changed files with 866 additions and 215 deletions

View File

@ -1389,6 +1389,10 @@ public:
{
current_stmt_binlog_row_based= 1;
}
inline void clear_current_stmt_binlog_row_based()
{
current_stmt_binlog_row_based= 0;
}
inline void reset_current_stmt_binlog_row_based()
{
current_stmt_binlog_row_based= test(variables.binlog_format == BINLOG_FORMAT_ROW);