mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Update test coverage for Bug#27430 "Crash in subquery code when in PS
and table DDL changed after PREPARE" to pass in embedded mode. mysql-test/r/ps.result: Update results (Bug#27430) mysql-test/r/ps_ddl.result: Update results (Bug#27430) mysql-test/t/ps.test: Add a test case for Bug#27430. ps.test is not run in --embedded-server, thus it now contains the part of the test for Bug#27430 that doesn't work in embedded server. mysql-test/t/ps_ddl.test: Move a part of the test for Bug#27430 that doesn't work in embedded server to ps.test, that includes not_embedded.inc.
This commit is contained in:
parent
7ce32c91ba
commit
3433706a12
4 changed files with 44 additions and 25 deletions
|
|
@ -2124,17 +2124,9 @@ deallocate prepare stmt;
|
|||
#
|
||||
# SQLCOM_SHOW_EVENTS
|
||||
#
|
||||
drop table if exists t1;
|
||||
create table t1 (a int);
|
||||
prepare stmt from "show events where (1) in (select * from t1)";
|
||||
execute stmt;
|
||||
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
||||
drop table t1;
|
||||
create table t1 (x int);
|
||||
execute stmt;
|
||||
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
||||
drop table t1;
|
||||
deallocate prepare stmt;
|
||||
#
|
||||
# Please see this test in ps.test, it requires not_embedded.inc
|
||||
#
|
||||
#
|
||||
# SQLCOM_SET_OPTION
|
||||
#
|
||||
|
|
@ -2191,7 +2183,7 @@ drop table t1;
|
|||
deallocate prepare stmt;
|
||||
# Intermediate result: number of reprepares matches the number
|
||||
# of tests
|
||||
call p_verify_reprepare_count(18);
|
||||
call p_verify_reprepare_count(17);
|
||||
SUCCESS
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue