diff options
author | Ramil Kalimullin <ramil@mysql.com> | 2009-12-26 15:25:56 +0400 |
---|---|---|
committer | Ramil Kalimullin <ramil@mysql.com> | 2009-12-26 15:25:56 +0400 |
commit | 041baac3262a8d42452c83216d790ef1557668c3 (patch) | |
tree | d2dfabf469c1fbfcb2d629f934862f99826daed1 /mysql-test/r/ps.result | |
parent | 916b559b10d06574ac77ab549785726ba2878222 (diff) | |
parent | 732a6a9e36e54e53299ac6d4d53897e9223f4805 (diff) | |
download | mariadb-git-041baac3262a8d42452c83216d790ef1557668c3.tar.gz |
Auto-merge.
Diffstat (limited to 'mysql-test/r/ps.result')
-rw-r--r-- | mysql-test/r/ps.result | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mysql-test/r/ps.result b/mysql-test/r/ps.result index c26a324d00b..1e67bfa7d37 100644 --- a/mysql-test/r/ps.result +++ b/mysql-test/r/ps.result @@ -1942,6 +1942,28 @@ execute stmt; deallocate prepare stmt; drop table t1,t2; # +# +# Bug #49570: Assertion failed: !(order->used & map) +# on re-execution of prepared statement +# +CREATE TABLE t1(a INT PRIMARY KEY); +INSERT INTO t1 VALUES(0), (1); +PREPARE stmt FROM +"SELECT 1 FROM t1 JOIN t1 t2 USING(a) GROUP BY t2.a, t1.a"; +EXECUTE stmt; +1 +1 +1 +EXECUTE stmt; +1 +1 +1 +EXECUTE stmt; +1 +1 +1 +DEALLOCATE PREPARE stmt; +DROP TABLE t1; End of 5.0 tests. create procedure proc_1() reset query cache; call proc_1(); |