List:Commits« Previous MessageNext Message »
From:Vladislav Vaintroub Date:February 13 2009 9:20pm
Subject:bzr commit into mysql-6.0-falcon-team branch (vvaintroub:3019)
Bug#42824
View as plain text  
#At file:///G:/bzr/mysql-6.0-falcon-team/ based on revid:vvaintroub@stripped

 3019 Vladislav Vaintroub	2009-02-13
      Bug #42824 Falcon assertion (lockType == Exclusive) in Bdb::mark on REPAIR 
      
      Problem :repairof a Falcon tqable  can crash if it finds orphan pages (PageinventoryPage is marked dirty but not locked exclusively)
      
      Fix :fetch  PageInventoryPage in for exclusive access inshead of shared.
      modified:
        storage/falcon/PageInventoryPage.cpp

=== modified file 'storage/falcon/PageInventoryPage.cpp'
--- a/storage/falcon/PageInventoryPage.cpp	2009-01-27 20:44:30 +0000
+++ b/storage/falcon/PageInventoryPage.cpp	2009-02-13 21:19:58 +0000
@@ -333,7 +333,7 @@ void PageInventoryPage::validateInventor
 							else
 								freePage(dbb, pageNumber, NO_TRANSACTION);
 								
-							pipBdb = dbb->fetchPage (pageNumber, PAGE_any, Shared);
+							pipBdb = dbb->fetchPage (pageNumber, PAGE_any, Exclusive);
 							BDB_HISTORY(pipBdb);
 							page = (PageInventoryPage*) pipBdb->buffer;
 							}

Thread
bzr commit into mysql-6.0-falcon-team branch (vvaintroub:3019)Bug#42824Vladislav Vaintroub13 Feb