1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-3804:

MySQL fix for bug#11765413 removed (we have better and more general fix for the problem).

Test suite added.
This commit is contained in:
unknown
2012-10-11 12:09:21 +03:00
parent a9f9296891
commit 8215ce4695
4 changed files with 22 additions and 6 deletions

View File

@ -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;

View File

@ -827,6 +827,16 @@ execute stmt1 ;
drop table t1, t5, t9;
--echo #
--echo # testcase for bug#11765413 - Crash with dependent subquery and
--echo # 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;
drop prepare stmt1;
drop table t1;
##### RULES OF THUMB TO PRESERVE THE SYSTEMATICS OF THE PS TEST CASES #####
#
# 0. You don't have the time to