diff options
author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-09-29 14:48:57 +0300 |
---|---|---|
committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-09-29 14:48:57 +0300 |
commit | 5591295cd42b548f4ca96b0081af6f729649dc15 (patch) | |
tree | fd910c5a5197283ec0acc6b546e6cbb8bb9338e6 /mysql-test/t/ps.test | |
parent | 292e1af26e0c6921f6b36ca30dbda104e8e7a8d2 (diff) | |
parent | b76277fce5a375b931ae2f967e26956539eb1ffc (diff) | |
download | mariadb-git-5591295cd42b548f4ca96b0081af6f729649dc15.tar.gz |
merge
Diffstat (limited to 'mysql-test/t/ps.test')
-rw-r--r-- | mysql-test/t/ps.test | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test index f7ce70c1d3a..5fdaebd1610 100644 --- a/mysql-test/t/ps.test +++ b/mysql-test/t/ps.test @@ -3079,7 +3079,16 @@ EXECUTE stmt; DEALLOCATE PREPARE stmt; DROP TABLE t1; -########################################################################### +--echo # +--echo # Bug#54494 crash with explain extended and prepared statements +--echo # +CREATE TABLE t1(a INT); +INSERT INTO t1 VALUES (1),(2); +PREPARE stmt FROM 'EXPLAIN EXTENDED SELECT 1 FROM t1 RIGHT JOIN t1 t2 ON 1'; +EXECUTE stmt; +EXECUTE stmt; +DEALLOCATE PREPARE stmt; +DROP TABLE t1; --echo --echo End of 5.1 tests. |