summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant.test
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-01-09 11:16:29 +0100
committerunknown <msvensson@neptunus.(none)>2006-01-09 11:16:29 +0100
commit998b7dca54a73bd56a602b309b053a618d5218cd (patch)
tree069d32198707660d8cfc40cde916d44707446591 /mysql-test/t/grant.test
parent57b203369f72957d7de074019e71d276058c45f2 (diff)
parent16257e8b356c105fcc9fa8c8851338da60ece8f2 (diff)
downloadmariadb-git-998b7dca54a73bd56a602b309b053a618d5218cd.tar.gz
Merge neptunus.(none):/home/msvensson/mysql/bug15598/my41-bug15598
into neptunus.(none):/home/msvensson/mysql/bug15598/my50-bug15598 mysql-test/t/grant.test: Auto merged sql/sql_acl.cc: Auto merged mysql-test/r/grant.result: SCCS merged
Diffstat (limited to 'mysql-test/t/grant.test')
-rw-r--r--mysql-test/t/grant.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test
index e806df5e91c..d8deb379cd4 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -499,4 +499,16 @@ revoke all privileges on ÂÄ.* from root@localhost;
show grants for root@localhost;
set names latin1;
+#
+# Bug #15598 Server crashes in specific case during setting new password
+# - Caused by a user with host ''
+#
+insert into mysql.user (host, user) values ('', 'mysqltest_7');
+flush privileges;
+set password for mysqltest_7@ = password('systpass');
+show grants for mysqltest_7@;
+drop user mysqltest_7@;
+--error 1141
+show grants for mysqltest_7@;
+
# End of 4.1 tests