Commit 7d05cd9b authored by Otto Kekäläinen's avatar Otto Kekäläinen
Browse files

Add patch to provide passwordless root accounts for test suite

parent 9390ddf1
...@@ -14,6 +14,7 @@ mariadb-10.0 (10.0.25-1) UNRELEASED; urgency=low ...@@ -14,6 +14,7 @@ mariadb-10.0 (10.0.25-1) UNRELEASED; urgency=low
* Updated Dutch translation by Frans Spiesschaert (Closes: #822894). * Updated Dutch translation by Frans Spiesschaert (Closes: #822894).
* Updated Spanish translation by Javier Fernández-Sanguino Peña * Updated Spanish translation by Javier Fernández-Sanguino Peña
(Closes: #823099). (Closes: #823099).
* Add patch to provide passwordless root accounts for test suite.
-- Otto Kekäläinen <otto@debian.org> Sat, 30 Apr 2016 21:00:18 +0300 -- Otto Kekäläinen <otto@debian.org> Sat, 30 Apr 2016 21:00:18 +0300
......
From: Otto Kekäläinen <otto@debian.org>
Date: Wed, 4 May 2016 15:48:57 +0300
Desciption: Make passwordless root accounts available for test suite
.
Remove this the day passwordless root account becomes the default in
upstream too and not just in Debian packaging.
--- a/mysql-test/mysql-test-run.pl 2016-05-04 15:46:40.536420466 +0300
+++ b/mysql-test/mysql-test-run.pl 2016-05-04 15:42:18.680414241 +0300
@@ -3607,6 +3607,10 @@
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");
+ mtr_tofile($bootstrap_sql_file, "-- Debian removed default root accounts\n");
+ mtr_tofile($bootstrap_sql_file, "INSERT INTO mysql.user VALUES ('127.0.1.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','Y','Y','Y','','','','',0,0,0,0,'','','N','N');\n");
+ mtr_tofile($bootstrap_sql_file, "INSERT INTO mysql.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','Y','Y','Y','','','','',0,0,0,0,'','','N','N');\n");
+ mtr_tofile($bootstrap_sql_file, "INSERT INTO mysql.user VALUES ('::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','Y','Y','Y','','','','',0,0,0,0,'','','N','N');\n");
# Add test data for timezone - this is just a subset, on a real
# system these tables will be populated either by mysql_tzinfo_to_sql
...@@ -12,4 +12,5 @@ mysqld_multi_confd.patch ...@@ -12,4 +12,5 @@ mysqld_multi_confd.patch
mysqld_multi.server_lsb-header.patch mysqld_multi.server_lsb-header.patch
mdev-8375-passwordless-root-via-socket-auth.patch mdev-8375-passwordless-root-via-socket-auth.patch
mdev-8375-built-in-auth-socket.patch mdev-8375-built-in-auth-socket.patch
mdev-8375-passwordless-accounts-for-testsuite.patch
mdev-9528-mysql_embedded.patch mdev-9528-mysql_embedded.patch
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment