MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Chad MILLER Date:January 2 2007 5:57pm
Subject:bk commit into 5.0 tree (cmiller:1.2362) BUG#23950
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of cmiller. When cmiller 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

ChangeSet@stripped, 2007-01-02 12:56:48-05:00, cmiller@stripped +1 -0
  Bug#23950: misplaced code in, main()
  We should initialize before anything else.

  sql/, 2007-01-02 12:56:41-05:00, cmiller@stripped +3 -1
    Move MY_INIT to the top of main().

# 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:	cmiller
# Host:
# Root:	/home/cmiller/work/mysql/mysql-5.0-maint

--- 1.584/sql/	2007-01-02 12:57:05 -05:00
+++ 1.585/sql/	2007-01-02 12:57:05 -05:00
@@ -3339,8 +3339,10 @@ int win_main(int argc, char **argv)
 int main(int argc, char **argv)
   MY_INIT(argv[0]);		// init my_sys library & pthreads
+  /* ^^^  Nothing should be before this line! */
   if (_cust_check_startup())
bk commit into 5.0 tree (cmiller:1.2362) BUG#23950Chad MILLER2 Jan