mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
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()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user