mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
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
This commit is contained in:
@@ -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<>");
|
||||
|
||||
Reference in New Issue
Block a user