1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-11 05:52:26 +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:
monty@mashka.mysql.fi
2003-01-06 01:48:59 +02:00
parent f9772317ee
commit 1f6ecc0cd3
248 changed files with 1036 additions and 792 deletions

View File

@@ -1,7 +1,10 @@
#
# Test some warnings
#
--disable-warnings
drop table if exists t1;
--enable-warnings
create table t1 (a int);
insert into t1 values (1);
insert into t1 values ("hej");
@@ -11,3 +14,8 @@ insert into t1 values ("hej");
insert into t1 values ("hej"),("d<>");
drop table t1;
set SQL_WARNINGS=0;
#
# Test other warnings
drop temporary table if exists not_exists;