MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Vladislav Vaintroub Date:January 9 2008 7:25pm
Subject:bk commit into 6.0 tree (vvaintroub:1.2775) BUG#33531
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-01-09 20:24:38+01:00, vvaintroub@vaio. +2 -0
  Bug#33531 - Revert new parameter definition, always do fflush() when 
  writing trace

  storage/falcon/StorageParameters.h@stripped, 2008-01-09 20:24:19+01:00, vvaintroub@vaio. +0 -1
    Revert new parameter definition, always do fflush() when writing trace

  storage/falcon/ha_falcon.cpp@stripped, 2008-01-09 20:24:21+01:00, vvaintroub@vaio. +2 -4
    Revert new parameter definition, always do fflush() when writing trace

diff -Nrup a/storage/falcon/StorageParameters.h b/storage/falcon/StorageParameters.h
--- a/storage/falcon/StorageParameters.h	2008-01-09 11:21:56 +01:00
+++ b/storage/falcon/StorageParameters.h	2008-01-09 20:24:19 +01:00
@@ -13,7 +13,6 @@
 
 
 PARAMETER_BOOL(consistent_read, "Enable Consistent Read Mode for Repeatable Reads", 1, 0, StorageInterface::updateConsistentRead)
-PARAMETER_BOOL(debug_autoflush, "Flush debug logfile after each message.", 1, 0, NULL)
 PARAMETER_UINT(debug_mask, "Falcon message type mask for logged messages.", 0, 0, INT_MAX, 0, StorageInterface::updateDebugMask)
 PARAMETER_BOOL(debug_server, "Enable Falcon debug code.", 0, 0x0200, NULL)
 PARAMETER_UINT(debug_trace, "Falcon debug trace trigger.", 0, 0, INT_MAX, 0, NULL)
diff -Nrup a/storage/falcon/ha_falcon.cpp b/storage/falcon/ha_falcon.cpp
--- a/storage/falcon/ha_falcon.cpp	2008-01-09 11:21:58 +01:00
+++ b/storage/falcon/ha_falcon.cpp	2008-01-09 20:24:21 +01:00
@@ -1981,14 +1981,12 @@ void StorageInterface::logger(int mask, 
 	if (mask & falcon_debug_mask)
 		{
 		printf("%s", text);
-		if (falcon_debug_autoflush)
-			fflush(stdout);
+		fflush(stdout);
 
 		if (falcon_log_file)
 			{
 			fprintf(falcon_log_file, "%s", text);
-				if (falcon_debug_autoflush)
-					fflush(falcon_log_file);
+			fflush(falcon_log_file);
 			}
 		}
 }
Thread
bk commit into 6.0 tree (vvaintroub:1.2775) BUG#33531Vladislav Vaintroub9 Jan