mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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,5 +1,5 @@
|
||||
drop table if exists obory;
|
||||
CREATE TABLE obory (
|
||||
drop table if exists t1;
|
||||
CREATE TABLE t1 (
|
||||
kodoboru varchar(10) default NULL,
|
||||
obor tinytext,
|
||||
aobor tinytext,
|
||||
@ -7,14 +7,14 @@ UNIQUE INDEX kodoboru (kodoboru),
|
||||
FULLTEXT KEY obor (obor),
|
||||
FULLTEXT KEY aobor (aobor)
|
||||
);
|
||||
INSERT INTO obory VALUES ('0101000000','aaa','AAA');
|
||||
INSERT INTO obory VALUES ('0102000000','bbb','BBB');
|
||||
INSERT INTO obory VALUES ('0103000000','ccc','CCC');
|
||||
INSERT INTO obory VALUES ('0104000000','xxx','XXX');
|
||||
select * from obory;
|
||||
INSERT INTO t1 VALUES ('0101000000','aaa','AAA');
|
||||
INSERT INTO t1 VALUES ('0102000000','bbb','BBB');
|
||||
INSERT INTO t1 VALUES ('0103000000','ccc','CCC');
|
||||
INSERT INTO t1 VALUES ('0104000000','xxx','XXX');
|
||||
select * from t1;
|
||||
kodoboru obor aobor
|
||||
0101000000 aaa AAA
|
||||
0102000000 bbb BBB
|
||||
0103000000 ccc CCC
|
||||
0104000000 xxx XXX
|
||||
drop table obory;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user