Commit 1e0f64fb authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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