diff options
author | unknown <knielsen@knielsen-hq.org> | 2012-01-28 17:08:42 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2012-01-28 17:08:42 +0100 |
commit | 300ec4d25ea7c5d933acabe2f9d4cc1e11da537b (patch) | |
tree | d2723687940699444de1b1308d02ce042df237ca /debian | |
parent | b0542bee9dd31c2cf17cba54fadbb090024e18ae (diff) | |
download | mariadb-git-300ec4d25ea7c5d933acabe2f9d4cc1e11da537b.tar.gz |
Fix debian patches for mysql-test-run wrt. deleted test account.
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/patches/50_mysql-test__db_test.dpatch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/patches/50_mysql-test__db_test.dpatch b/debian/patches/50_mysql-test__db_test.dpatch index 6a5cab91c39..fe356ae46ef 100755 --- a/debian/patches/50_mysql-test__db_test.dpatch +++ b/debian/patches/50_mysql-test__db_test.dpatch @@ -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 |