summaryrefslogtreecommitdiff
path: root/mysql-test/r/ps_1general.result
diff options
context:
space:
mode:
authorunknown <sanja@montyprogram.com>2012-10-11 12:09:21 +0300
committerunknown <sanja@montyprogram.com>2012-10-11 12:09:21 +0300
commit8215ce4695e743d313e92f4d30f412f79958439c (patch)
treed4b7fd43f1f2221a9ddbf56edf9cc0c71f799174 /mysql-test/r/ps_1general.result
parenta9f9296891a6ca611878b930f5932f4dc3d9f2a6 (diff)
downloadmariadb-git-8215ce4695e743d313e92f4d30f412f79958439c.tar.gz
MDEV-3804:
MySQL fix for bug#11765413 removed (we have better and more general fix for the problem). Test suite added.
Diffstat (limited to 'mysql-test/r/ps_1general.result')
-rw-r--r--mysql-test/r/ps_1general.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/ps_1general.result b/mysql-test/r/ps_1general.result
index d2f740a06f4..0a3d16cf48e 100644
--- a/mysql-test/r/ps_1general.result
+++ b/mysql-test/r/ps_1general.result
@@ -777,3 +777,14 @@ execute stmt1 ;
prepare stmt1 from ' select * from t5 ' ;
execute stmt1 ;
drop table t1, t5, t9;
+#
+# testcase for bug#11765413 - Crash with dependent subquery and
+# prepared statement
+create table t1 (c1 int);
+insert into t1 values (1);
+prepare stmt1 from "select 1 from t1 where 1=(select 1 from t1 having c1)";
+execute stmt1;
+1
+1
+drop prepare stmt1;
+drop table t1;