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...
This commit is contained in:
unknown 2007-09-05 11:43:42 +02:00
commit 6c34c63d08

View file

@ -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: