1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Bug#48508: Crash on prepared statement re-execution.

Test case cleanup.
This commit is contained in:
Evgeny Potemkin
2009-12-03 16:15:20 +03:00
parent 1db3a684e2
commit a2f18f44c6
2 changed files with 4 additions and 0 deletions

View File

@@ -1902,6 +1902,7 @@ execute stmt;
a
execute stmt;
a
deallocate prepare stmt;
drop table t1;
drop view v1;
create table t1(a bigint);
@@ -1912,6 +1913,7 @@ execute stmt;
1
execute stmt;
1
deallocate prepare stmt;
drop table t1,t2;
#
End of 5.0 tests.

View File

@@ -1982,6 +1982,7 @@ create view v1 AS select 1 as a from t1 where b;
prepare stmt from "select * from v1 where a";
execute stmt;
execute stmt;
deallocate prepare stmt;
drop table t1;
drop view v1;
@@ -1991,6 +1992,7 @@ 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;
execute stmt;
deallocate prepare stmt;
drop table t1,t2;
--echo #