List:Commits« Previous MessageNext Message »
From:Kevin Lewis Date:March 27 2009 3:17pm
Subject:bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:3085)
View as plain text  
#At file:///C:/Work/bzr/Merge/mysql-6.0-falcon-team/ based on revid:kevin.lewis@stripped

 3085 Kevin Lewis	2009-03-27
      Delete  ASSERT(state != recQueuedForDelete); in RecordVersion::fetchVersionRecursive()
      This assert means that a record is queued for delete, but not gone yet, and we can still use it.  
      Previously, it would have turned into a bad pointer while using it.  Now, the record is detached above, but still attached below, so we can still refer to it.

    modified:
      storage/falcon/RecordVersion.cpp
=== modified file 'storage/falcon/RecordVersion.cpp'
--- a/storage/falcon/RecordVersion.cpp	2009-03-27 13:43:10 +0000
+++ b/storage/falcon/RecordVersion.cpp	2009-03-27 15:16:56 +0000
@@ -174,7 +174,6 @@ Record* RecordVersion::fetchVersionRecur
 {
 	// Unless the record is at least as old as the transaction, it's not for us
 
-	ASSERT(state != recQueuedForDelete);
 	TransactionState* recTransState = transactionState;
 
 	if (state != recLock)


Attachment: [text/bzr-bundle] bzr/kevin.lewis@sun.com-20090327151656-m94hqd88n92t4i0c.bundle
Thread
bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:3085)Kevin Lewis27 Mar