List:Internals« Previous MessageNext Message »
From:Elliot Murphy Date:July 18 2005 10:04pm
Subject:bk commit into 5.0 tree (elliot:1.1946) BUG#11567
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of emurphy. When emurphy 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
  1.1946 05/07/18 16:04:21 elliot@stripped +1 -0
  BUG#11567 Fixed binlog tests on windows.

  sql/log_event.cc
    1.183 05/07/18 16:04:17 elliot@stripped +1 -1
    BUG#11567 - mysqlbinlog tests failing on Windows.
    Cast was not working as intended with Windows compiler,
    the value of option was being printed instead. Changed
    to explicitly print a 1 or 0 instead of using cast.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	elliot
# Host:	agony.local
# Root:	/Users/emurphy/src/work/mysql-5.0-bug11567

--- 1.182/sql/log_event.cc	2005-07-05 10:01:58 -04:00
+++ 1.183/sql/log_event.cc	2005-07-18 16:04:17 -04:00
@@ -242,7 +242,7 @@
   {
     if (*need_comma)
       fprintf(file,", ");
-    fprintf(file,"%s=%d", name, (bool)(flags & option));
+    fprintf(file,"%s=%d", name, (flags & option) ? 1 : 0);
     *need_comma= 1;
   }
 }
Thread
bk commit into 5.0 tree (elliot:1.1946) BUG#11567Elliot Murphy18 Jul