diff options
author | Georgi Kodinov <joro@sun.com> | 2009-12-03 14:07:46 +0200 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-12-03 14:07:46 +0200 |
commit | 9091535c5fc914aecaa51acf6e558ccd9800fd88 (patch) | |
tree | 05e1b50d13cd309dfc81bea28417c8ce580d7293 /mysql-test/r/show_check.result | |
parent | 7622134333ef91e5e88e981288aaf09f7202d54a (diff) | |
download | mariadb-git-9091535c5fc914aecaa51acf6e558ccd9800fd88.tar.gz |
Bug #48985: show create table crashes if previous access to the table was killed
When checking for an error after removing the special view error handler the code
was not taking into account that open_tables() may fail because of the current
statement being killed.
Added a check for thd->killed.
Added a client program to test it.
Diffstat (limited to 'mysql-test/r/show_check.result')
-rw-r--r-- | mysql-test/r/show_check.result | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result index e6550bee954..ec0a70ff581 100644 --- a/mysql-test/r/show_check.result +++ b/mysql-test/r/show_check.result @@ -1454,4 +1454,10 @@ GRANT PROCESS ON *.* TO test_u@localhost; SHOW ENGINE MYISAM MUTEX; SHOW ENGINE MYISAM STATUS; DROP USER test_u@localhost; +# +# Bug #48985: show create table crashes if previous access to the table +# was killed +# +SHOW CREATE TABLE non_existent; +ERROR 70100: Query execution was interrupted End of 5.1 tests |