List:Commits« Previous MessageNext Message »
From:klewis Date:February 28 2008 10:11pm
Subject:bk commit into 6.0 tree (klewis:1.2581) BUG#34351
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of klewis.  When klewis does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-02-28 15:10:51-06:00, klewis@klewis-mysql. +1 -0
  Bug #34351 - Use true/false, not TRUE/FALSE.

  storage/falcon/Transaction.cpp@stripped, 2008-02-28 15:10:40-06:00, klewis@klewis-mysql. +4
-4
    Bug #34351 - Use true/false, not TRUE/FALSE.

diff -Nrup a/storage/falcon/Transaction.cpp b/storage/falcon/Transaction.cpp
--- a/storage/falcon/Transaction.cpp	2008-02-28 12:18:47 -06:00
+++ b/storage/falcon/Transaction.cpp	2008-02-28 15:10:40 -06:00
@@ -738,14 +738,14 @@ bool Transaction::needToLock(Record* rec
 		if (visible(transaction, transId, FOR_WRITING))
 			if (candidate->state == recDeleted)
 				if (!transaction || transaction->state == Committed)
-					return FALSE; // Committed and deleted
+					return false; // Committed and deleted
 				else
-					return TRUE; // Just in case this rolls back.
+					return true; // Just in case this rolls back.
 			else
-				return TRUE;
+				return true;
 		}
 
-	return FALSE;
+	return false;
 }
 
 void Transaction::releaseDependencies()
Thread
bk commit into 6.0 tree (klewis:1.2581) BUG#34351klewis28 Feb 2008