List:Commits« Previous MessageNext Message »
From:jonas Date:October 20 2006 2:22pm
Subject:bk commit into 5.1 tree (jonas:1.2305)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas 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, 2006-10-20 14:22:27+02:00, jonas@stripped +1 -0
  ndb - fix incorrect assertion
      Dont assert when getting gci=0 in read only transaction

  storage/ndb/src/ndbapi/NdbTransaction.cpp@stripped, 2006-10-20 14:22:25+02:00,
jonas@stripped +4 -2
    ndb - fix incorrect assertion
        Dont assert when getting gci=0 in read only transaction

# 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:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/51-work

--- 1.60/storage/ndb/src/ndbapi/NdbTransaction.cpp	2006-10-20 14:22:31 +02:00
+++ 1.61/storage/ndb/src/ndbapi/NdbTransaction.cpp	2006-10-20 14:22:31 +02:00
@@ -1768,8 +1768,10 @@
     if (tCommitFlag == 1) {
       theCommitStatus = Committed;
       theGlobalCheckpointId = tGCI;
-      assert(tGCI);
-      *p_latest_trans_gci = tGCI;
+      if (tGCI) // Read(dirty) only transaction doesnt get GCI
+      {
+	*p_latest_trans_gci = tGCI;
+      }
     } else if ((tNoComp >= tNoSent) &&
                (theLastExecOpInList->theCommitIndicator == 1)){
 
Thread
bk commit into 5.1 tree (jonas:1.2305)jonas20 Oct