summaryrefslogtreecommitdiff
path: root/mysql-test/t/warnings.test
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2005-02-23 20:22:51 +0300
committerunknown <gluh@gluh.mysql.r18.ru>2005-02-23 20:22:51 +0300
commite09a6c1a203e986b4c4d34cf8a8b72b39e4c573d (patch)
treed3e1cd2714c25ffbee749ae053b0f1cbfc11186c /mysql-test/t/warnings.test
parent272f78b533f98cd611d0be62538399e6f0839355 (diff)
parent262dadccf112eae2381def6e6e144da2ffa9036f (diff)
downloadmariadb-git-e09a6c1a203e986b4c4d34cf8a8b72b39e4c573d.tar.gz
Merge gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-4.1
into gluh.mysql.r18.ru:/home/gluh/MySQL-MERGE/mysql-5.0 mysql-test/r/warnings.result: Auto merged mysql-test/t/warnings.test: Auto merged sql/protocol.cc: Auto merged
Diffstat (limited to 'mysql-test/t/warnings.test')
-rw-r--r--mysql-test/t/warnings.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/warnings.test b/mysql-test/t/warnings.test
index 67162e7f84b..c71365c3da6 100644
--- a/mysql-test/t/warnings.test
+++ b/mysql-test/t/warnings.test
@@ -7,6 +7,19 @@ drop table if exists t1, t2;
SET SQL_WARNINGS=1;
create table t1 (a int);
+--error 1050
+create table t1 (a int);
+show count(*) errors;
+show errors;
+show warnings;
+--error 1115
+create table t2(a int) default charset qwerty;
+show count(*) errors;
+show errors;
+--error 1064
+create table t (i);
+show count(*) errors;
+show errors;
insert into t1 values (1);
insert into t1 values ("hej");
insert into t1 values ("hej"),("då");