summaryrefslogtreecommitdiff
path: root/mysql-test/t/flush.test
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-12-22 15:13:31 +0200
committermonty@hundin.mysql.fi <>2001-12-22 15:13:31 +0200
commit9e1ed2e4dcaed23b6acf5944c1cfa0cba66fe29d (patch)
treef8ed70ccb23812937954a6f217c183b3677d978a /mysql-test/t/flush.test
parent778058123b797486993eeea09a185b1cef4a75ba (diff)
downloadmariadb-git-9e1ed2e4dcaed23b6acf5944c1cfa0cba66fe29d.tar.gz
Fixed access privilege bug in query cache.
Change tests to use database 'mysqltest' instead of 'foo' Add option to not print access denied messages to check_table_access()
Diffstat (limited to 'mysql-test/t/flush.test')
-rw-r--r--mysql-test/t/flush.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/mysql-test/t/flush.test b/mysql-test/t/flush.test
index 6a09b903873..38aa37caa4f 100644
--- a/mysql-test/t/flush.test
+++ b/mysql-test/t/flush.test
@@ -44,15 +44,15 @@ reap;
#test if drop database will wait until we release the global read lock
connection con1;
-drop database if exists foo;
-create database foo;
-create table foo.t1(n int);
-insert into foo.t1 values (23);
+drop database if exists mysqltest;
+create database mysqltest;
+create table mysqltest.t1(n int);
+insert into mysqltest.t1 values (23);
flush tables with read lock;
connection con2;
-send drop database foo;
+send drop database mysqltest;
connection con1;
-select * from foo.t1;
+select * from mysqltest.t1;
unlock tables;
connection con2;
reap;