List:Commits« Previous MessageNext Message »
From:Kevin Lewis Date:April 7 2009 5:26pm
Subject:bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:3106)
Bug#42185
View as plain text  
#At file:///C:/Work/bzr/Merge/mysql-6.0-falcon-team/ based on revid:kevin.lewis@stripped

 3106 Kevin Lewis	2009-04-07
      Bug#42185 - After further consideration, I believe this is an invalid assert.  If two or more client threads read the same base record at once and on of them is able to lock it first, the others will still have useCounts on that source record.

    modified:
      storage/falcon/Table.cpp
=== modified file 'storage/falcon/Table.cpp'
--- a/storage/falcon/Table.cpp	2009-04-07 14:31:04 +0000
+++ b/storage/falcon/Table.cpp	2009-04-07 17:26:20 +0000
@@ -3605,8 +3605,6 @@ Record* Table::fetchForUpdate(Transactio
 					transaction->addRecord(lockRecord);
 					lockRecord->release(REC_HISTORY);
 
-					ASSERT(source->useCount >= 2);
-
 					return source;
 					}
 


Attachment: [text/bzr-bundle] bzr/kevin.lewis@sun.com-20090407172620-5p6fw3odasuysoc3.bundle
Thread
bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:3106)Bug#42185Kevin Lewis7 Apr