diff --git a/mysql-test/r/subselect_sj.result b/mysql-test/r/subselect_sj.result index 1b5604d50fda19f997997c85947093fdf62f390d..2df5089b064cde8591e5b742e10c0fd9957f5bec 100644 --- a/mysql-test/r/subselect_sj.result +++ b/mysql-test/r/subselect_sj.result @@ -574,6 +574,14 @@ WHERE v1field IN ( SELECT v2field as vf_inner FROM v2 ); END| INSERT INTO t1 VALUES (1),(2),(3); INSERT INTO t2 VALUES (2),(3),(4); +CALL p1; +v1field +2 +3 +CALL p1; +v1field +2 +3 DROP TABLE t1,t2; DROP VIEW v1,v2; DROP PROCEDURE p1; diff --git a/mysql-test/r/subselect_sj_jcl6.result b/mysql-test/r/subselect_sj_jcl6.result index 53aa07a6840fd4d67e5b2ef1b3641fbaa3cae47e..22335c25655a5e3808c7ed4be2537e7bcac61913 100644 --- a/mysql-test/r/subselect_sj_jcl6.result +++ b/mysql-test/r/subselect_sj_jcl6.result @@ -582,6 +582,14 @@ WHERE v1field IN ( SELECT v2field as vf_inner FROM v2 ); END| INSERT INTO t1 VALUES (1),(2),(3); INSERT INTO t2 VALUES (2),(3),(4); +CALL p1; +v1field +2 +3 +CALL p1; +v1field +2 +3 DROP TABLE t1,t2; DROP VIEW v1,v2; DROP PROCEDURE p1; diff --git a/mysql-test/t/subselect_sj.test b/mysql-test/t/subselect_sj.test index e107210050b7cb502f48b3ae32d6c361f91124e6..eeca05985b87d731bfa661c2c87db983d9a97a8e 100644 --- a/mysql-test/t/subselect_sj.test +++ b/mysql-test/t/subselect_sj.test @@ -522,10 +522,8 @@ DELIMITER ;| INSERT INTO t1 VALUES (1),(2),(3); INSERT INTO t2 VALUES (2),(3),(4); -# These SP calls return a wrong result set due to a bug in the code of mwl106 -# Uncomment them when the bug is fixed -# CALL p1; -# CALL p1; +CALL p1; +CALL p1; DROP TABLE t1,t2; DROP VIEW v1,v2;