mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
fixed bug in event handling of several tables
fix crashing bug in Dict caused by Suma on CREATE_SUBID_REF
This commit is contained in:
parent
e967891e39
commit
94dc32b37a
2 changed files with 4 additions and 1 deletions
|
@ -592,11 +592,11 @@ public:
|
|||
|
||||
Uint32 subscriptionId;
|
||||
Uint32 subscriptionKey;
|
||||
Uint32 err;
|
||||
union { // Haven't decide what to call it
|
||||
Uint32 senderData;
|
||||
Uint32 subscriberData;
|
||||
};
|
||||
Uint32 err;
|
||||
};
|
||||
|
||||
class SumaStartMe {
|
||||
|
|
|
@ -84,6 +84,8 @@ NdbEventOperationImpl::NdbEventOperationImpl(NdbEventOperation &N,
|
|||
|
||||
m_eventImpl = &myEvnt->m_impl;
|
||||
|
||||
m_eventId = m_eventImpl->m_eventId;
|
||||
|
||||
m_bufferHandle = m_ndb->getGlobalEventBufferHandle();
|
||||
if (m_bufferHandle->m_bufferL > 0)
|
||||
m_bufferL =m_bufferHandle->m_bufferL;
|
||||
|
@ -947,6 +949,7 @@ NdbGlobalEventBuffer::real_prepareAddSubscribeEvent
|
|||
int bufferId= -1;
|
||||
Uint32 eventId= eventOp->m_eventId;
|
||||
|
||||
DBUG_PRINT("enter",("eventId: %u", eventId));
|
||||
// add_drop_lock(); // only one thread can do add or drop at a time
|
||||
|
||||
// Find place where eventId already set
|
||||
|
|
Loading…
Reference in a new issue