diff options
author | monty@mashka.mysql.fi <> | 2003-01-06 01:48:59 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-01-06 01:48:59 +0200 |
commit | 1f6ecc0cd3d9acf4751ebbbf8db8b6ee468d3abf (patch) | |
tree | 5fe133480d7e74a88990405ae324694fb8797fa5 /mysql-test/t/key.test | |
parent | f9772317eefe95fe8152d69593082b2864164e16 (diff) | |
download | mariadb-git-1f6ecc0cd3d9acf4751ebbbf8db8b6ee468d3abf.tar.gz |
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()
Diffstat (limited to 'mysql-test/t/key.test')
-rw-r--r-- | mysql-test/t/key.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/t/key.test b/mysql-test/t/key.test index 1996c793880..4fd8cc86dd5 100644 --- a/mysql-test/t/key.test +++ b/mysql-test/t/key.test @@ -2,7 +2,10 @@ # This failed for Elizabeth Mattijsen # +--disable_warnings drop table if exists t1,t2,t3; +--enable_warnings + CREATE TABLE t1 ( ID CHAR(32) NOT NULL, name CHAR(32) NOT NULL, @@ -173,7 +176,6 @@ drop table t1; # Problem with UNIQUE() with NULL parts and auto increment # -DROP TABLE IF EXISTS t1; CREATE TABLE t1 (c CHAR(10) NOT NULL,i INT NOT NULL AUTO_INCREMENT, UNIQUE (c,i)); INSERT INTO t1 (c) VALUES (NULL),(NULL); |