List:Internals« Previous MessageNext Message »
From:holyfoot Date:July 28 2005 12:18pm
Subject:bk commit into 4.0 tree (hf:1.2129)
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.2129 05/07/28 17:18:24 hf@deer.(none) +1 -0
  Additional fix for #12177 (stderr isn't closed)

  libmysqld/lib_sql.cc
    1.51 05/07/28 17:18:22 hf@deer.(none) +3 -3
    my_end() needs stderr to be active

# 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.50/libmysqld/lib_sql.cc	Wed Jul 27 19:39:57 2005
+++ 1.51/libmysqld/lib_sql.cc	Thu Jul 28 17:18:22 2005
@@ -627,14 +627,14 @@
   my_free((char*) copy_arguments_ptr, MYF(MY_ALLOW_ZERO_PTR));
   copy_arguments_ptr=0;
   clean_up(0);
+  /* If library called my_init(), free memory allocated by it */
+  if (!org_my_init_done)
+    my_end(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);
 }
 
 my_bool STDCALL mysql_thread_init()
Thread
bk commit into 4.0 tree (hf:1.2129)holyfoot28 Jul