diff options
author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-10-06 13:02:11 +0300 |
---|---|---|
committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-10-06 13:02:11 +0300 |
commit | 93b7578d216cc2b4792014847642d971ec118093 (patch) | |
tree | cf392a14a46bb5fb504e36e89eac77cfea6b2d7d /mysql-test/t/ps.test | |
parent | 591a69143c9ca6671d0d248b4345ed0b2f86d8e9 (diff) | |
parent | 6f9839d9658a8716bc2c994bfa6515e0adf170bf (diff) | |
download | mariadb-git-93b7578d216cc2b4792014847642d971ec118093.tar.gz |
merge
Diffstat (limited to 'mysql-test/t/ps.test')
-rw-r--r-- | mysql-test/t/ps.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/ps.test b/mysql-test/t/ps.test index 5fdaebd1610..bf15648951b 100644 --- a/mysql-test/t/ps.test +++ b/mysql-test/t/ps.test @@ -3090,6 +3090,17 @@ EXECUTE stmt; DEALLOCATE PREPARE stmt; DROP TABLE t1; +--echo # +--echo # Bug#54488 crash when using explain and prepared statements with subqueries +--echo # +CREATE TABLE t1(f1 INT); +INSERT INTO t1 VALUES (1),(1); +PREPARE stmt FROM 'EXPLAIN SELECT 1 FROM t1 WHERE (SELECT (SELECT 1 FROM t1 GROUP BY f1))'; +EXECUTE stmt; +EXECUTE stmt; +DEALLOCATE PREPARE stmt; +DROP TABLE t1; + --echo --echo End of 5.1 tests. |