Commit 21cc37a5 authored by unknown's avatar unknown

bug#23110 Some NDB tests assert randomly on mixed mode binlog: don't reset...

bug#23110  Some NDB tests assert randomly on mixed mode binlog: don't reset binlog format for NDB binlog injector thread


parent 60b5420b
...@@ -1570,8 +1570,10 @@ class THD :public Statement, ...@@ -1570,8 +1570,10 @@ class THD :public Statement,
or trigger is decided when it starts executing, depending for example on or trigger is decided when it starts executing, depending for example on
the caller (for a stored function: if caller is SELECT or the caller (for a stored function: if caller is SELECT or
INSERT/UPDATE/DELETE...). INSERT/UPDATE/DELETE...).
Don't reset binlog format for NDB binlog injector thread.
*/ */
if ((temporary_tables == NULL) && (in_sub_stmt == 0)) if ((temporary_tables == NULL) && (in_sub_stmt == 0) &&
(system_thread != SYSTEM_THREAD_NDBCLUSTER_BINLOG))
{ {
current_stmt_binlog_row_based= current_stmt_binlog_row_based=
test(variables.binlog_format == BINLOG_FORMAT_ROW); test(variables.binlog_format == BINLOG_FORMAT_ROW);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment