summaryrefslogtreecommitdiff
path: root/mysql-test/r/ps.result
diff options
context:
space:
mode:
authorEvgeny Potemkin <epotemkin@mysql.com>2009-12-02 16:49:21 +0300
committerEvgeny Potemkin <epotemkin@mysql.com>2009-12-02 16:49:21 +0300
commite4344ffa4199b0dcab72e3f93e9f572f2610fa74 (patch)
treee141eed482706ba08b9c6f03957e908c35020e2a /mysql-test/r/ps.result
parentf81700aa4ead8af29ec34870eefa61abfab12bee (diff)
parent1a0f3c38b84fc0cad0bda98abeb4ba3809166447 (diff)
downloadmariadb-git-e4344ffa4199b0dcab72e3f93e9f572f2610fa74.tar.gz
Auto-merged.
Diffstat (limited to 'mysql-test/r/ps.result')
-rw-r--r--mysql-test/r/ps.result23
1 files changed, 23 insertions, 0 deletions
diff --git a/mysql-test/r/ps.result b/mysql-test/r/ps.result
index 1f8a077af40..34b94b71eff 100644
--- a/mysql-test/r/ps.result
+++ b/mysql-test/r/ps.result
@@ -1917,6 +1917,29 @@ execute stmt using @arg;
?
-12345.5432100000
deallocate prepare stmt;
+#
+# Bug#48508: Crash on prepared statement re-execution.
+#
+create table t1(b int);
+insert into t1 values (0);
+create view v1 AS select 1 as a from t1 where b;
+prepare stmt from "select * from v1 where a";
+execute stmt;
+a
+execute stmt;
+a
+drop table t1;
+drop view v1;
+create table t1(a bigint);
+create table t2(b tinyint);
+insert into t2 values (null);
+prepare stmt from "select 1 from t1 join t2 on a xor b where b > 1 and a =1";
+execute stmt;
+1
+execute stmt;
+1
+drop table t1,t2;
+#
End of 5.0 tests.
create procedure proc_1() reset query cache;
call proc_1();