diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-09-10 13:49:49 +0500 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-09-10 13:49:49 +0500 |
commit | 104d9ce76a68fd3da2f9217514a4c61454802c1d (patch) | |
tree | bbe365958d3199002ab64e3e0cc3bf268c10f1fb /mysql-test/r/warnings.result | |
parent | 6d3e743d5b0fefecde02417c6902267766413fab (diff) | |
download | mariadb-git-104d9ce76a68fd3da2f9217514a4c61454802c1d.tar.gz |
Bug#42364 SHOW ERRORS returns empty resultset after dropping non existent table
partial backport of bug43138 fix
mysql-test/r/warnings.result:
test result
mysql-test/t/warnings.test:
test case
sql/sql_class.cc:
partial backport of bug43138 fix
sql/sql_class.h:
partial backport of bug43138 fix
sql/sql_table.cc:
partial backport of bug43138 fix
Diffstat (limited to 'mysql-test/r/warnings.result')
-rw-r--r-- | mysql-test/r/warnings.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/warnings.result b/mysql-test/r/warnings.result index 2e393aea9e4..8a87852d582 100644 --- a/mysql-test/r/warnings.result +++ b/mysql-test/r/warnings.result @@ -313,4 +313,9 @@ ERROR 22001: Data too long for column 'c_tinytext' at row 1 insert into t2 values(@q); ERROR 22001: Data too long for column 'c_tinyblob' at row 1 drop table t1, t2; +DROP TABLE t1; +ERROR 42S02: Unknown table 't1' +SHOW ERRORS; +Level Code Message +Error 1051 Unknown table 't1' End of 5.0 tests |