mariadb/mysql-test/t/warnings.test

14 lines
271 B
Text
Raw Normal View History

#
# Test some 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;