Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Faustin Lammler
mariadb-10.1
Commits
7d05cd9b
Commit
7d05cd9b
authored
May 04, 2016
by
Otto Kekäläinen
Browse files
Add patch to provide passwordless root accounts for test suite
parent
9390ddf1
Changes
3
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
7d05cd9b
...
@@ -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
...
...
debian/patches/mdev-8375-passwordless-accounts-for-testsuite.patch
0 → 100644
View file @
7d05cd9b
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
debian/patches/series
View file @
7d05cd9b
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment