mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -1,4 +1,6 @@
|
||||
drop table if exists t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
create table t1 (a int);
|
||||
insert into t1 values (1);
|
||||
insert into t1 values ("hej");
|
||||
@ -8,3 +10,6 @@ insert into t1 values ("hej");
|
||||
insert into t1 values ("hej"),("d<>");
|
||||
drop table t1;
|
||||
set SQL_WARNINGS=0;
|
||||
drop temporary table if exists not_exists;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 'not_exists'
|
||||
|
Reference in New Issue
Block a user