mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Changed mysql-test to print warnings for not existing table to DROP TABLE
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
This commit is contained in:
@@ -3,9 +3,11 @@ source include/master-slave.inc;
|
||||
connect (con1,localhost,root,,);
|
||||
connect (con2,localhost,root,,);
|
||||
|
||||
drop table if exists t1;
|
||||
--disable_warnings
|
||||
drop table if exists t1,t2;
|
||||
--enable_warnings
|
||||
|
||||
create table t1(f int);
|
||||
drop table if exists t2;
|
||||
create table t2(f int);
|
||||
insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
|
||||
|
||||
@@ -38,8 +40,7 @@ select * from t2;
|
||||
|
||||
show binlog events;
|
||||
|
||||
drop table if exists t1;
|
||||
drop table if exists t2;
|
||||
drop table t1, t2;
|
||||
|
||||
use test;
|
||||
SET TIMESTAMP=1040323920;
|
||||
@@ -74,4 +75,5 @@ SET TIMESTAMP=1040324224;
|
||||
SET @@session.pseudo_thread_id=2;
|
||||
drop temporary table t3;
|
||||
|
||||
select * from t2;
|
||||
select * from t2;
|
||||
drop table t1,t2;
|
||||
|
||||
Reference in New Issue
Block a user