mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +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:
@@ -518,18 +518,18 @@ drop table t1;
|
||||
# Test DROP DATABASE
|
||||
#
|
||||
|
||||
create database test_$1;
|
||||
create table test_$1.t1 (a int not null) type= innodb;
|
||||
insert into test_$1.t1 values(1);
|
||||
create table test_$1.t2 (a int not null) type= myisam;
|
||||
insert into test_$1.t2 values(1);
|
||||
create table test_$1.t3 (a int not null) type= heap;
|
||||
insert into test_$1.t3 values(1);
|
||||
create database mysqltest;
|
||||
create table mysqltest.t1 (a int not null) type= innodb;
|
||||
insert into mysqltest.t1 values(1);
|
||||
create table mysqltest.t2 (a int not null) type= myisam;
|
||||
insert into mysqltest.t2 values(1);
|
||||
create table mysqltest.t3 (a int not null) type= heap;
|
||||
insert into mysqltest.t3 values(1);
|
||||
commit;
|
||||
drop database test_$1;
|
||||
drop database mysqltest;
|
||||
# Don't check error message
|
||||
--error 12,12
|
||||
show tables from test_$1;
|
||||
show tables from mysqltest;
|
||||
|
||||
#
|
||||
# Test truncate table
|
||||
|
||||
Reference in New Issue
Block a user