diff options
author | dlenev@brandersnatch.localdomain <> | 2005-06-20 16:07:00 +0400 |
---|---|---|
committer | dlenev@brandersnatch.localdomain <> | 2005-06-20 16:07:00 +0400 |
commit | d07843efd90a223a3308df73b59675dce30f92b6 (patch) | |
tree | 9663c3b1decfcf7a324d7b1a05ff5a7c1117247a /mysql-test/r/ps.result | |
parent | 362a45fd34c37347d921612aaa23235c8d98ff7e (diff) | |
download | mariadb-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.result | 6 |
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; |