summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_binlog.cc
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-09-05 11:43:42 +0200
committerunknown <tomas@whalegate.ndb.mysql.com>2007-09-05 11:43:42 +0200
commit6c34c63d087d312d7f049c32f7091fae066fb8bd (patch)
tree1ec7c50f9a954a639a11808e442c359ac85718a7 /sql/ha_ndbcluster_binlog.cc
parent1eed753e8fbb5be860147e9199a29c02340590aa (diff)
downloadmariadb-git-6c34c63d087d312d7f049c32f7091fae066fb8bd.tar.gz
getting rid of flush altogether, fix with post_epoch hendeling and/or changes in Rows_log_event
- problem is the database name accessed in Rows_log_event write... get_db() which is a pointer to the share string... - point to table map instead? - or copy it? - or make sure that anything interacting with the share happens _after_ the epoch Problem with flush is that STMT_END_F may not be included as it shoudld...
Diffstat (limited to 'sql/ha_ndbcluster_binlog.cc')
-rw-r--r--sql/ha_ndbcluster_binlog.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc
index 0edcbfc7963..3d927442b93 100644
--- a/sql/ha_ndbcluster_binlog.cc
+++ b/sql/ha_ndbcluster_binlog.cc
@@ -3209,11 +3209,6 @@ ndb_binlog_thread_handle_non_data_event(THD *thd, Ndb *ndb,
NDB_SHARE *share= (NDB_SHARE *)pOp->getCustomData();
NDBEVENT::TableEvent type= pOp->getEventType();
- /* make sure to flush any pending events as they can be dependent
- on one of the tables being changed below
- */
- thd->binlog_flush_pending_rows_event(FALSE);
-
switch (type)
{
case NDBEVENT::TE_CLUSTER_FAILURE: