MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:November 6 2008 10:08am
Subject:bzr commit into mysql-5.1 branch (jonas:2717) Bug#40543
View as plain text  
#At file:///home/jonas/src/telco-6.2/

 2717 Jonas Oreland	2008-11-06
      ndb - bug#40543 ReadCommitted might theoretically read stale data
modified:
  storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp

=== modified file 'storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp'
--- a/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp	2008-09-19 21:49:00 +0000
+++ b/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp	2008-11-06 10:08:40 +0000
@@ -3091,13 +3091,13 @@ void Dbtc::tckeyreq050Lab(Signal* signal
   regTcPtr->tcNodedata[3] = Tdata6;
 
   Uint8 Toperation = regTcPtr->operation;
-  Uint8 Tdirty = regTcPtr->dirtyOp;
+  Uint8 TopSimple = regTcPtr->opSimple;
   tnoOfBackup = tnodeinfo & 3;
   tnoOfStandby = (tnodeinfo >> 8) & 3;
  
   regCachePtr->fragmentDistributionKey = (tnodeinfo >> 16) & 255;
   if (Toperation == ZREAD || Toperation == ZREAD_EX) {
-    if (Tdirty == 1) {
+    if (TopSimple == 1){
       jam();
       /*-------------------------------------------------------------*/
       /*       A SIMPLE READ CAN SELECT ANY OF THE PRIMARY AND       */

Thread
bzr commit into mysql-5.1 branch (jonas:2717) Bug#40543Jonas Oreland6 Nov