From 8a7db87e4bc5d7503ad15d108e30e886fda319c7 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 13 Nov 2006 15:42:01 +0100 Subject: Fixing problem in injector code making NDB tests fire an assertion. sql/ha_ndbcluster_binlog.cc: Removing extreneous setting of current_stmt_binlog_row_based. sql/rpl_injector.cc: Since current_stmt_binlog_row_based is reset as the end of a transaction it needs to be set at the beginning of a transaction. --- sql/ha_ndbcluster_binlog.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'sql/ha_ndbcluster_binlog.cc') diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc index 5f5c8bcb221..a2bec5377fc 100644 --- a/sql/ha_ndbcluster_binlog.cc +++ b/sql/ha_ndbcluster_binlog.cc @@ -3436,7 +3436,6 @@ pthread_handler_t ndb_binlog_thread_func(void *arg) global_system_variables.binlog_format == BINLOG_FORMAT_MIXED) { ndb_binlog_running= TRUE; - thd->current_stmt_binlog_row_based= TRUE; // If in mixed mode } else { -- cgit v1.2.1