diff options
Diffstat (limited to 'mysql-test/t/warnings.test')
-rw-r--r-- | mysql-test/t/warnings.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/warnings.test b/mysql-test/t/warnings.test new file mode 100644 index 00000000000..e7cb1f46ec3 --- /dev/null +++ b/mysql-test/t/warnings.test @@ -0,0 +1,13 @@ +# +# 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; |