mirror of
https://github.com/MariaDB/server.git
synced 2025-05-29 21:42:28 +03:00

Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
22 lines
402 B
Plaintext
22 lines
402 B
Plaintext
#
|
|
# 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");
|
|
insert into t1 values ("hej"),("då");
|
|
set SQL_WARNINGS=1;
|
|
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;
|