Commit 1e0f64fb authored by unknown's avatar unknown

ndb - wl#2972 (5.1) omit trigger check post!=pre if recipient is SUMA


storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
  send identical post/pre data on update if recipient is SUMA (events, replication)
parent f21a2c36
......@@ -916,7 +916,8 @@ bool Dbtup::readTriggerInfo(TupTriggerData* const trigPtr,
req_struct->m_tuple_ptr= save;
ndbrequire(ret != -1);
noBeforeWords = ret;
if ((noAfterWords == noBeforeWords) &&
if (trigPtr->m_receiverBlock != SUMA &&
(noAfterWords == noBeforeWords) &&
(memcmp(afterBuffer, beforeBuffer, noAfterWords << 2) == 0)) {
//--------------------------------------------------------------------
// Although a trigger was fired it was not necessary since the old
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment