List:Commits« Previous MessageNext Message »
From:klewis Date:February 6 2008 4:20pm
Subject:bk commit into 6.0 tree (klewis:1.2807) BUG#34331
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of . When  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-06 10:20:32-06:00, klewis@klewis-mysql. +1 -0
  Bug#34331 - Convert -1 to 1 for boolean values sent by the server
  for a setting, specifically falcon_consistent_read.

  storage/falcon/ha_falcon.cpp@stripped, 2008-02-06 10:20:24-06:00, klewis@klewis-mysql. +1 -1
    Bug#34331 - Convert -1 to 1 for boolean values sent by the server
    for a setting, specifically falcon_consistent_read.

diff -Nrup a/storage/falcon/ha_falcon.cpp b/storage/falcon/ha_falcon.cpp
--- a/storage/falcon/ha_falcon.cpp	2008-02-03 15:42:21 -06:00
+++ b/storage/falcon/ha_falcon.cpp	2008-02-06 10:20:24 -06:00
@@ -3064,7 +3064,7 @@ static void updateRecordChillThreshold(M
 
 void StorageInterface::updateConsistentRead(MYSQL_THD thd, struct st_mysql_sys_var* variable, void *var_ptr, void *save)
 {
-	falcon_consistent_read = *(my_bool*) save;
+	falcon_consistent_read = (my_bool) (*(int *) save ? 1 : 0);
 
 	int newRepeatableRead = (falcon_consistent_read ? 
 		TRANSACTION_CONSISTENT_READ : TRANSACTION_WRITE_COMMITTED);
Thread
bk commit into 6.0 tree (klewis:1.2807) BUG#34331klewis6 Feb