mysql/mysql.patch

Sun, 24 Aug 2014 13:49:27 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 24 Aug 2014 13:49:27 +0200
changeset 794
07be25b95aca
parent 527
7b145ccff1e9
permissions
-rw-r--r--

Accommodate architecture segregated lib(32|64|...) library paths.

     1 Index: mysys/default.c
     2 --- mysys/default.c.orig	2012-08-22 19:47:54.486251769 +0200
     3 +++ mysys/default.c	2012-08-22 19:48:07.379075804 +0200
     4 @@ -1222,8 +1222,7 @@
     6  #else
     8 -  errors += add_directory(alloc, "/etc/", dirs);
     9 -  errors += add_directory(alloc, "/etc/mysql/", dirs);
    10 +  errors += add_directory(alloc, "@l_prefix@/etc/mysql/", dirs);
    12  #if defined(DEFAULT_SYSCONFDIR)
    13    if (DEFAULT_SYSCONFDIR[0])
    14 Index: scripts/mysql_system_tables_data.sql
    15 --- scripts/mysql_system_tables_data.sql.orig	2012-08-22 19:49:42.514877593 +0200
    16 +++ scripts/mysql_system_tables_data.sql	2012-08-22 19:49:52.671510387 +0200
    17 @@ -26,8 +26,6 @@
    18  -- Fill "db" table with default grants for anyone to
    19  -- access database 'test' and 'test_%' if "db" table didn't exist
    20  CREATE TEMPORARY TABLE tmp_db LIKE db;
    21 -INSERT INTO tmp_db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');
    22 -INSERT INTO tmp_db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');
    23  INSERT INTO db SELECT * FROM tmp_db WHERE @had_db_table=0;
    24  DROP TABLE tmp_db;

mercurial