List:Internals« Previous MessageNext Message »
From:holyfoot Date:July 27 2005 2:40pm
Subject:bk commit into 4.0 tree (hf:1.2128) BUG#12177
View as plain text  
Below is the list of changes that have just been committed into a local
4.0 repository of hf. When hf 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.2128 05/07/27 19:39:59 hf@deer.(none) +1 -0
  addition to the fix for bug #12177(error log file isn't closed)

  libmysqld/lib_sql.cc
    1.50 05/07/27 19:39:57 hf@deer.(none) +3 -0
    we should set errorlog_file=0 to make consequent mysql_server_init work
    properly

# 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:	hf
# Host:	deer.(none)
# Root:	/home/hf/work/mysql-4.0.12177

--- 1.49/libmysqld/lib_sql.cc	Wed Jul 27 17:34:05 2005
+++ 1.50/libmysqld/lib_sql.cc	Wed Jul 27 19:39:57 2005
@@ -628,7 +628,10 @@
   copy_arguments_ptr=0;
   clean_up(0);
   if (errorlog_file)
+  {
     fclose(errorlog_file);
+    errorlog_file=0;
+  }
   /* If library called my_init(), free memory allocated by it */
   if (!org_my_init_done)
     my_end(0);
Thread
bk commit into 4.0 tree (hf:1.2128) BUG#12177holyfoot27 Jul