List:Commits« Previous MessageNext Message »
From:Christopher Powers Date:March 19 2009 7:35pm
Subject:bzr commit into mysql-6.0-falcon-team branch (christopher.powers:3067)
Bug#41478
View as plain text  
#At file:///home/cpowers/work/dev/dev-02/mysql/

 3067 Christopher Powers	2009-03-19
      Bug #41478, "Falcon transactions see uncommited updates"
      
      When removing a record from a transaction, leave RecordVersion::transaction
      to ensure that the record does not appear to be fully committed and therefore
      visible to other transactions.
modified:
  storage/falcon/Transaction.cpp

per-file messages:
  storage/falcon/Transaction.cpp
    Transaction::removeRecordNoLock()
    - Don't remove transaction pointer
=== modified file 'storage/falcon/Transaction.cpp'
--- a/storage/falcon/Transaction.cpp	2009-03-05 09:20:35 +0000
+++ b/storage/falcon/Transaction.cpp	2009-03-19 19:35:18 +0000
@@ -671,7 +671,6 @@ void Transaction::removeRecordNoLock(Rec
 	*ptr = record->nextInTrans;
 	record->prevInTrans = NULL;
 	record->nextInTrans = NULL;
-	record->transaction = NULL;
 
 	Sync syncSP(&syncSavepoints, "Transaction::rollback");
 	syncSP.lock(Shared);

Thread
bzr commit into mysql-6.0-falcon-team branch (christopher.powers:3067)Bug#41478Christopher Powers19 Mar