| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- Index: include/my_global.h
- --- include/my_global.h.orig 2007-01-09 13:51:49 +0100
- +++ include/my_global.h 2007-01-10 08:49:00 +0100
- @@ -777,9 +777,8 @@
- #define SSIZE_MAX ((~((size_t) 0)) / 2)
- #endif
-
- -#if !defined(HAVE_ISINF) && !defined(isinf)
- +#undef isinf
- #define isinf(X) 0
- -#endif
-
- /* Define missing math constants. */
- #ifndef M_PI
- Index: mysys/default.c
- --- mysys/default.c.orig 2007-01-09 13:51:38 +0100
- +++ mysys/default.c 2007-01-10 08:49:00 +0100
- @@ -1007,7 +1007,7 @@
- if ((env= getenv("ETC")))
- *ptr++= env;
- #endif
- - *ptr++= "/etc/";
- + *ptr++= "@l_prefix@/etc/mysql/";
- #endif
- if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV))))
- *ptr++= env;
- Index: scripts/mysql_config.sh
- --- scripts/mysql_config.sh.orig 2007-01-09 13:51:28 +0100
- +++ scripts/mysql_config.sh 2007-01-10 08:49:00 +0100
- @@ -98,9 +98,9 @@
-
- # Create options
- # We intentionally add a space to the beginning and end of lib strings, simplifies replace later
- -libs=" $ldflags -L$pkglibdir -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
- +libs=" $ldflags -L$pkglibdir -lmysqlclient -lmysys @ZLIB_DEPS@ @NON_THREADED_LIBS@"
- libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ "
- -libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r @ZLIB_DEPS@ @LIBS@ @openssl_libs@ "
- +libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r -lmysys @ZLIB_DEPS@ @LIBS@ @openssl_libs@ "
- embedded_libs=" $ldflags -L$pkglibdir -lmysqld @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @innodb_system_libs@ @openssl_libs@ "
-
- cflags="-I$pkgincludedir @CFLAGS@ " #note: end space!
- Index: scripts/mysql_create_system_tables.sh
- --- scripts/mysql_create_system_tables.sh.orig 2007-01-09 13:51:08 +0100
- +++ scripts/mysql_create_system_tables.sh 2007-01-10 08:49:00 +0100
- @@ -77,9 +77,6 @@
- c_d="$c_d ) engine=MyISAM"
- c_d="$c_d CHARACTER SET utf8 COLLATE utf8_bin"
- c_d="$c_d comment='Database privileges';"
- -
- - i_d="INSERT INTO db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N');
- - INSERT INTO db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N');"
- fi
-
- if test ! -f $mdata/host.frm
- @@ -167,17 +164,13 @@
- then
- i_u="INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
- INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
- - REPLACE INTO user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
- - INSERT INTO user (host,user) values ('localhost','');
- - INSERT INTO user (host,user) values ('$hostname','');"
- + REPLACE INTO user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);"
- else
- i_u="INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);"
- if test "$windows" = "0"
- then
- i_u="$i_u
- - INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
- - INSERT INTO user (host,user) values ('$hostname','');
- - INSERT INTO user (host,user) values ('localhost','');"
- + INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);"
- else
- i_u="$i_u
- INSERT INTO user VALUES ('localhost','','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);"
|