diff options
author | gluh@gluh.mysql.r18.ru <> | 2005-02-23 20:22:51 +0300 |
---|---|---|
committer | gluh@gluh.mysql.r18.ru <> | 2005-02-23 20:22:51 +0300 |
commit | c6f1e9627a1f47d87b5f4172b549ab66efd7c297 (patch) | |
tree | d3e1cd2714c25ffbee749ae053b0f1cbfc11186c /mysql-test/r/warnings.result | |
parent | 907c7af3ced96c49aaf61cecaca77347dd2f29e0 (diff) | |
parent | fc9c20995f63b55db430c812b6296c25b68f8a2b (diff) | |
download | mariadb-git-c6f1e9627a1f47d87b5f4172b549ab66efd7c297.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
Diffstat (limited to 'mysql-test/r/warnings.result')
-rw-r--r-- | mysql-test/r/warnings.result | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/r/warnings.result b/mysql-test/r/warnings.result index a2e99be62ad..222638f64bb 100644 --- a/mysql-test/r/warnings.result +++ b/mysql-test/r/warnings.result @@ -1,6 +1,33 @@ drop table if exists t1, t2; SET SQL_WARNINGS=1; create table t1 (a int); +create table t1 (a int); +ERROR 42S01: Table 't1' already exists +show count(*) errors; +@@session.error_count +1 +show errors; +Level Code Message +Error 1050 Table 't1' already exists +show warnings; +Level Code Message +Error 1050 Table 't1' already exists +create table t2(a int) default charset qwerty; +ERROR 42000: Unknown character set: 'qwerty' +show count(*) errors; +@@session.error_count +1 +show errors; +Level Code Message +Error 1115 Unknown character set: 'qwerty' +create table t (i); +ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 +show count(*) errors; +@@session.error_count +1 +show errors; +Level Code Message +Error 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 insert into t1 values (1); insert into t1 values ("hej"); Warnings: |