diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2006-07-04 17:37:44 +0200 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2006-07-04 17:37:44 +0200 |
commit | 40cfec487278e9faa13db05acef55a6230eb8213 (patch) | |
tree | 245b5dbfb55d5aa9f6af0f2d38eece159ee13a10 /storage/ndb/src/kernel/blocks/suma | |
parent | bc5c62e5a0614d8e953a2800e868a43673d266bf (diff) | |
download | mariadb-git-40cfec487278e9faa13db05acef55a6230eb8213.tar.gz |
Bug #20742 Assertion in drop of ndb binlog events after node restart
- make sure TE_ACTIVE event comes when node restarts so that ref counting is correct for drop of event
Diffstat (limited to 'storage/ndb/src/kernel/blocks/suma')
-rw-r--r-- | storage/ndb/src/kernel/blocks/suma/Suma.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/ndb/src/kernel/blocks/suma/Suma.cpp b/storage/ndb/src/kernel/blocks/suma/Suma.cpp index 42666a9e5d9..bb42c8874c5 100644 --- a/storage/ndb/src/kernel/blocks/suma/Suma.cpp +++ b/storage/ndb/src/kernel/blocks/suma/Suma.cpp @@ -2667,7 +2667,8 @@ Suma::reportAllSubscribers(Signal *signal, { SubTableData * data = (SubTableData*)signal->getDataPtrSend(); - if (table_event == NdbDictionary::Event::_TE_SUBSCRIBE) + if (table_event == NdbDictionary::Event::_TE_SUBSCRIBE && + !c_startup.m_restart_server_node_id) { data->gci = m_last_complete_gci + 1; data->tableId = subPtr.p->m_tableId; |