List:Commits« Previous MessageNext Message »
From:Kevin Lewis Date:April 14 2009 9:02pm
Subject:bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:3123)
Bug#44161
View as plain text  
#At file:///C:/Work/bzr/Merge/mysql-6.0-falcon-team/ based on revid:harrison@hotspur-20090414172113-o7e1z46fzaw2tp6u

 3123 Kevin Lewis	2009-04-14
      Bug#44161 - Made a mistake in the previous patch for Record::deleteData by putting data.record = NULL before the calls to DELETE_RECORD and queueForDelete.

    modified:
      storage/falcon/Record.cpp
=== modified file 'storage/falcon/Record.cpp'
--- a/storage/falcon/Record.cpp	2009-04-09 15:40:11 +0000
+++ b/storage/falcon/Record.cpp	2009-04-14 21:02:07 +0000
@@ -903,8 +903,6 @@ void Record::deleteData(bool now)
 {
 	if (data.record)
 		{
-		data.record = NULL;
-
 		switch (encoding)
 			{
 			case valueVector:
@@ -922,6 +920,8 @@ void Record::deleteData(bool now)
 				else
 					format->table->queueForDelete((char *) data.record);
 			}
+
+		data.record = NULL;
 		}
 }
 


Attachment: [text/bzr-bundle] bzr/kevin.lewis@sun.com-20090414210207-89cpgyf50vob1ebe.bundle
Thread
bzr commit into mysql-6.0-falcon-team branch (kevin.lewis:3123)Bug#44161Kevin Lewis14 Apr