Below is the list of changes that have just been committed into a local
5.1 repository of kostja. When kostja 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, 2007-12-04 22:32:08+03:00, kostja@bodhi.(none) +1 -0
Fix Bug#25535 "load_defaults() no longer included by mysql.h" by
making sure that load_defaults can be made available by including
my_sys.h. Note, if one includes both my_sys.h and mysql.h, my_sys.h
got to go first (this is how mysql.h is written).
include/my_sys.h@stripped, 2007-12-04 22:32:03+03:00, kostja@bodhi.(none) +5 -0
my_sys.h depends on my_global.h. At the same time, my_sys.h can be
used as an independent public header standing out for mysys library.
Make sure that people can safely include my_sys.h when any of mysys
functions are needed.
Note, that it still got to be included first, before mysql.h, to
avoid a declaration conflict.
diff -Nrup a/include/my_sys.h b/include/my_sys.h
--- a/include/my_sys.h 2007-10-02 11:32:29 +04:00
+++ b/include/my_sys.h 2007-12-04 22:32:03 +03:00
@@ -15,6 +15,11 @@
#ifndef _my_sys_h
#define _my_sys_h
+/*
+ Include my_global.h so that my_sys.h can stand as an independent
+ public header of mysys library
+*/
+#include <my_global.h>
C_MODE_START
#ifdef HAVE_AIOWAIT