| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- Index: mysys/default.c
- --- mysys/default.c.orig 2007-05-02 16:40:31 +0200
- +++ mysys/default.c 2007-05-10 07:54:13 +0200
- @@ -1006,7 +1006,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-05-02 16:40:15 +0200
- +++ scripts/mysql_config.sh 2007-05-10 07:54:13 +0200
- @@ -97,9 +97,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_system_tables_data.sql
- --- scripts/mysql_system_tables_data.sql.orig 2007-05-02 16:40:01 +0200
- +++ scripts/mysql_system_tables_data.sql 2007-05-10 07:55:32 +0200
- @@ -5,8 +5,6 @@
- -- Fill "db" table with default grants for anyone to
- -- access database 'test' and 'test_%' if "db" table didn't exist
- CREATE TEMPORARY TABLE tmp_db LIKE db;
- -INSERT INTO tmp_db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N');
- -INSERT INTO tmp_db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N');
- INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0;
- DROP TABLE tmp_db;
-
- ______________________________________________________________________________
- Dirty hack to make mysqlhotcopy work with recent versions of DBD/mysql,
- see http://bugs.mysql.com/bug.php?id=27303
- Index: scripts/mysqlhotcopy.sh
- --- scripts/mysqlhotcopy.sh.orig 2007-07-04 15:06:25 +0200
- +++ scripts/mysqlhotcopy.sh 2007-11-13 00:02:56 +0100
- @@ -834,6 +834,8 @@
-
- my @dbh_tables = eval { $dbh->tables() };
-
- + map { s/^.*?\.//o } @dbh_tables;
- +
- ## Remove quotes around table names
- my $quote = $dbh->get_info(29); # SQL_IDENTIFIER_QUOTE_CHAR
- if ($quote) {
|