diff options
author | unknown <andrey@lmy004.> | 2005-08-17 17:51:10 +0200 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2005-08-17 17:51:10 +0200 |
commit | 7370b241a1bcd81fa24e793c30df5e09923e071a (patch) | |
tree | 339e9694a8acd4f2aa2fb186d3fb7c0a549a2442 /mysql-test/t/show_check.test | |
parent | f2cc5f25eb76bbca52140b7bfed13c2e3f9b7050 (diff) | |
download | mariadb-git-7370b241a1bcd81fa24e793c30df5e09923e071a.tar.gz |
fix for bug #12591 (SHOW TABLES FROM dbname produces wrong error message)
mysql-test/r/show_check.result:
results for test for bug #12591
mysql-test/t/show_check.test:
test for bug #12591
sql/sql_show.cc:
don't let my_dir() emit a message bug catch the errno (my_errno - a thread specific variable) and check it for ENOENT - not existing.
For other errors emulate the message used to be emitted by my_dir()
Diffstat (limited to 'mysql-test/t/show_check.test')
-rw-r--r-- | mysql-test/t/show_check.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/show_check.test b/mysql-test/t/show_check.test index 41b8a9e401c..b9fc991dc80 100644 --- a/mysql-test/t/show_check.test +++ b/mysql-test/t/show_check.test @@ -405,3 +405,8 @@ SHOW OPEN TABLES; DROP TABLE txt1; DROP TABLE tyt2; DROP TABLE urkunde; +# +# BUG #12591 (SHOW TABLES FROM dbname produces wrong error message) +# +--error 1049 +SHOW TABLES FROM non_existing_database; |