MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:February 14 2007 4:51am
Subject:bk commit into 5.0 tree (stewart:1.2410) BUG#26356
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of stewart. When stewart 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@stripped, 2007-02-14 15:51:16+11:00, stewart@willster.(none) +1 -0
  BUG#26356  	uninitialised data sent from TAMPER_ORD to DIHNDBTAMPER
  
  Don't send uninit data in TAMPER_ORD to DIHNDBTAMPER
  
  Even though this data is unused from the CMVMI (mgmd) signal,
  we shouldn't be doing stuff with uninited data.

  ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp@stripped, 2007-02-14 15:51:14+11:00, stewart@willster.(none) +1 -1
    init the 3rd word of DIHNDBTAMPER before sending to DIH.

# 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:	stewart
# Host:	willster.(none)
# Root:	/home/stewart/Documents/MySQL/5.0/ndb-work

--- 1.30/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp	2007-01-18 07:18:46 +11:00
+++ 1.31/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp	2007-02-14 15:51:14 +11:00
@@ -839,7 +839,7 @@
   // to be able to indicate if we really introduced an error.
 #ifdef ERROR_INSERT
   TamperOrd* const tamperOrd = (TamperOrd*)&signal->theData[0];
-  
+  signal->theData[2] = 0;
   signal->theData[1] = tamperOrd->errorNo;
   signal->theData[0] = 5;
   sendSignal(DBDIH_REF, GSN_DIHNDBTAMPER, signal, 3,JBB);
Thread
bk commit into 5.0 tree (stewart:1.2410) BUG#26356Stewart Smith14 Feb