summaryrefslogtreecommitdiff
path: root/mysql-test/r/ps.result
diff options
context:
space:
mode:
authordlenev@brandersnatch.localdomain <>2005-06-20 16:07:00 +0400
committerdlenev@brandersnatch.localdomain <>2005-06-20 16:07:00 +0400
commitd07843efd90a223a3308df73b59675dce30f92b6 (patch)
tree9663c3b1decfcf7a324d7b1a05ff5a7c1117247a /mysql-test/r/ps.result
parent362a45fd34c37347d921612aaa23235c8d98ff7e (diff)
downloadmariadb-git-d07843efd90a223a3308df73b59675dce30f92b6.tar.gz
Fix for bug #11060 "Server crashes on re-execution of prepared
INSERT ... SELECT with UNION" (reviewed version). Altough bug manifest itself only starting from 5.0 it is better to apply fix to 4.1 to keep some assumptions true and make code more future-proof.
Diffstat (limited to 'mysql-test/r/ps.result')
-rw-r--r--mysql-test/r/ps.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/ps.result b/mysql-test/r/ps.result
index d66114fe44e..ca38f1c75cb 100644
--- a/mysql-test/r/ps.result
+++ b/mysql-test/r/ps.result
@@ -557,3 +557,9 @@ id
3
deallocate prepare stmt;
drop table t1, t2;
+create table t1 (id int);
+prepare stmt from "insert into t1 (id) select id from t1 union select id from t1";
+execute stmt;
+execute stmt;
+deallocate prepare stmt;
+drop table t1;