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

 3117 Kevin Lewis	2009-04-13
      Bug#44224 - In 2 out of 60 RQG test runs, Falcon crashed on this line;
      Table::fetchNext   at Table.cpp:603
      if ((record = records->fetch(bitNumber)))
      Should be this;
      if (records && (record = records->fetch(bitNumber)))

    modified:
      storage/falcon/Table.cpp
=== modified file 'storage/falcon/Table.cpp'
--- a/storage/falcon/Table.cpp	2009-04-09 17:31:22 +0000
+++ b/storage/falcon/Table.cpp	2009-04-13 14:41:15 +0000
@@ -600,7 +600,7 @@ Record* Table::fetchNext(int32 start)
 			// is not in the tree.
 			
 			sync.lock(Exclusive);
-			if ((record = records->fetch(bitNumber)))
+			if (records && (record = records->fetch(bitNumber)))
 				{
 				record->poke();		// Whoops, there it is!
 				return record;


Attachment: [text/bzr-bundle] bzr/kevin.lewis@sun.com-20090413144115-b1id4eo36giup2m8.bundle
Thread
bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:3117)Bug#44224Kevin Lewis13 Apr