Below is the list of changes that have just been committed into a local
5.1 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
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-12-26 14:56:41-05:00, cmiller@stripped +1 -0
Bug#23950: misplaced code in mysqld.cc, main()
Moved MY_INIT() to top of main(), where it should be.
sql/mysqld.cc@stripped, 2006-12-26 14:56:32-05:00, cmiller@stripped +2 -2
Nothing should come before MY_INIT().
# 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: calliope.local
# Root: /Volumes/Source/src/mysql-5.1-maint
--- 1.601/sql/mysqld.cc 2006-12-20 19:11:44 -05:00
+++ 1.602/sql/mysqld.cc 2006-12-26 14:56:32 -05:00
@@ -3476,6 +3476,8 @@
int main(int argc, char **argv)
#endif
{
+ MY_INIT(argv[0]); // init my_sys library & pthreads
+
rpl_filter= new Rpl_filter;
binlog_filter= new Rpl_filter;
if (!rpl_filter || !binlog_filter)
@@ -3483,8 +3485,6 @@
sql_perror("Could not allocate replication and binlog filters");
exit(1);
}
-
- MY_INIT(argv[0]); // init my_sys library & pthreads
/*
Perform basic logger initialization logger. Should be called after
| Thread |
|---|
| • bk commit into 5.1 tree (cmiller:1.2389) BUG#23950 | Chad MILLER | 29 Dec |