summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_binlog.cc
diff options
context:
space:
mode:
authorunknown <mats@romeo.(none)>2006-11-13 15:42:01 +0100
committerunknown <mats@romeo.(none)>2006-11-13 15:42:01 +0100
commit8a7db87e4bc5d7503ad15d108e30e886fda319c7 (patch)
tree94fc60e8798d43d9ea510f840041d372dcebc7ea /sql/ha_ndbcluster_binlog.cc
parentb5d6a629c9d23c624d1e6f54ef07f723a6654a1c (diff)
downloadmariadb-git-8a7db87e4bc5d7503ad15d108e30e886fda319c7.tar.gz
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.
Diffstat (limited to 'sql/ha_ndbcluster_binlog.cc')
-rw-r--r--sql/ha_ndbcluster_binlog.cc1
1 files changed, 0 insertions, 1 deletions
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
{