List:Commits« Previous MessageNext Message »
From:pekka Date:January 18 2006 1:21pm
Subject:bk commit into 5.1 tree (pekka:1.2073)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of pekka. When pekka does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2073 06/01/18 14:21:24 pekka@stripped +1 -0
  ndb - wl#2972 (5.1) omit trigger check post!=pre if recipient is SUMA

  storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp
    1.21 06/01/18 14:18:34 pekka@stripped +2 -1
    send identical post/pre data on update if recipient is SUMA (events, replication)

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	pekka
# Host:	orca.ndb.mysql.com
# Root:	/space/pekka/ndb/version/my51

--- 1.20/storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp	2006-01-12 19:50:34 +01:00
+++ 1.21/storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp	2006-01-18 14:18:34 +01:00
@@ -916,7 +916,8 @@
     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
Thread
bk commit into 5.1 tree (pekka:1.2073)pekka18 Jan