[Commits] Rev 3251: Fix debian patches for mysql-test-run wrt. deleted test account. in http://bazaar.launchpad.net/~maria-captains/maria/5.5

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Sat Jan 28 18:08:42 EET 2012


At http://bazaar.launchpad.net/~maria-captains/maria/5.5

------------------------------------------------------------
revno: 3251
revision-id: knielsen at knielsen-hq.org-20120128160842-mg5g581kc0plu8m5
parent: holyfoot at askmonty.org-20120128100411-3k1dyg196bfeej5b
committer: knielsen at knielsen-hq.org
branch nick: mariadb-5.5
timestamp: Sat 2012-01-28 17:08:42 +0100
message:
  Fix debian patches for mysql-test-run wrt. deleted test account.
=== modified file 'debian/patches/50_mysql-test__db_test.dpatch'
--- a/debian/patches/50_mysql-test__db_test.dpatch	2012-01-23 11:20:16 +0000
+++ b/debian/patches/50_mysql-test__db_test.dpatch	2012-01-28 16:08:42 +0000
@@ -10,12 +10,13 @@
 
 --- old/mysql-test/mysql-test-run.pl    2009-06-16 14:24:09.000000000 +0200
 +++ new/mysql-test/mysql-test-run.pl    2009-07-04 00:03:34.000000000 +0200
-@@ -2717,6 +2717,10 @@
+@@ -2717,6 +2717,11 @@
      mtr_appendfile_to_file("$sql_dir/mysql_system_tables_data.sql",
                            $bootstrap_sql_file);
  
 +    mtr_tofile($bootstrap_sql_file, "-- Debian removed the default privileges on the 'test' database\n");
 +    mtr_tofile($bootstrap_sql_file, "INSERT INTO mysql.db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');\n");
++    mtr_tofile($bootstrap_sql_file, "INSERT INTO mysql.db VALUES ('%','test\\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');\n");
 +    
 +
      # Add test data for timezone - this is just a subset, on a real



More information about the commits mailing list