1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Fix for bug #6572: SHOW ERRORS doesn't

This commit is contained in:
gluh@gluh.mysql.r18.ru
2005-02-23 20:18:21 +03:00
parent 2b5ee94a33
commit fc9c20995f
3 changed files with 46 additions and 0 deletions

View File

@@ -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<>");