summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant2.test
diff options
context:
space:
mode:
authormsvensson@pilot.blaudden <>2007-02-26 11:49:24 +0100
committermsvensson@pilot.blaudden <>2007-02-26 11:49:24 +0100
commitc550a455227c9390b7e0ad1f9f34807cda2671ab (patch)
tree69ad68fe79bb46e8afcec3061599cc355cb386d9 /mysql-test/t/grant2.test
parent6caa0a232ed6f741e6c8c9e8d6a89e272dec6505 (diff)
downloadmariadb-git-c550a455227c9390b7e0ad1f9f34807cda2671ab.tar.gz
Bug#20166 mysql-test-run.pl does not test system privilege tables creation
- Use mysql_system_tables.sql to create MySQL system tables in all places where we create them(mysql_install_db, mysql-test-run-pl and mysql_fix_privilege_tables.sql)
Diffstat (limited to 'mysql-test/t/grant2.test')
-rw-r--r--mysql-test/t/grant2.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/grant2.test b/mysql-test/t/grant2.test
index 66128e56515..d08a9e3f83d 100644
--- a/mysql-test/t/grant2.test
+++ b/mysql-test/t/grant2.test
@@ -395,6 +395,8 @@ delete from mysql.user where user like 'mysqltest\_1';
flush privileges;
drop database mysqltest_1;
+--source include/add_anonymous_users.inc
+
# But anonymous users can't change their password
connect (n5,localhost,test,,test,$MASTER_MYPORT,$MASTER_MYSOCK);
connection n5;
@@ -403,6 +405,8 @@ set password = password("changed");
disconnect n5;
connection default;
+--source include/delete_anonymous_users.inc
+
# Bug #12423 "Deadlock when doing FLUSH PRIVILEGES and GRANT in
# multi-threaded environment". We should be able to execute FLUSH