MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:Sergei Golubchik Date:October 6 2005 5:05pm
Subject:bk commit into 5.0 tree (serg:1.2021) BUG#13791
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of serg. When serg 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.2021 05/10/06 19:05:34 serg@stripped +1 -0
  don't "init" binlog if opt_bin_log is not set
  (bug#13791 - mysqld crashes at startup in TC_LOG_MMAP::open)

  sql/log.cc
    1.176 05/10/06 19:05:21 serg@stripped +2 -2
    don't "init" binlog if opt_bin_log is not set
    (bug#13791 - mysqld crashes at startup in TC_LOG_MMAP::open)

# 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:	serg
# Host:	serg.mylan
# Root:	/usr/home/serg/Abk/mysql-5.0

--- 1.175/sql/log.cc	Tue Oct  4 18:52:59 2005
+++ 1.176/sql/log.cc	Thu Oct  6 19:05:21 2005
@@ -66,7 +66,7 @@ handlerton binlog_hton = {
   NULL,                         /* rollback_by_xid */
   NULL,                         /* create_cursor_read_view */
   NULL,                         /* set_cursor_read_view */
-  NULL,    			/* close_cursor_read_view */
+  NULL,                         /* close_cursor_read_view */
   HTON_NO_FLAGS
 };
 
@@ -78,7 +78,7 @@ handlerton binlog_hton = {
 
 bool binlog_init()
 {
-  return false;
+  return !opt_bin_log;
 }
 
 static int binlog_close_connection(THD *thd)
Thread
bk commit into 5.0 tree (serg:1.2021) BUG#13791Sergei Golubchik6 Oct