1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-31003: Second execution for ps-protocol

This patch adds for "--ps-protocol" second execution
of queries "SELECT".
Also in this patch it is added ability to disable/enable
(--disable_ps2_protocol/--enable_ps2_protocol) second
execution for "--ps-prototocol" in testcases.
This commit is contained in:
Lena Startseva
2023-05-31 11:57:45 +07:00
parent 23dae6173c
commit 9854fb6fa7
400 changed files with 1339 additions and 42 deletions

View File

@ -83,7 +83,9 @@ create function bug10015_4(i int) returns int
insert into t2 values (i, m);
return m;
end|
--disable_ps2_protocol
select *, bug10015_4(id) from t1|
--enable_ps2_protocol
select * from t2|
drop function bug10015_4|
# Now let us test how statement rollback works
@ -327,10 +329,14 @@ commit|
set autocommit= 1|
# Let us test that savepoints work inside of functions
# even in auto-commit mode
--disable_ps2_protocol
select bug13825_3(0)|
--enable_ps2_protocol
select * from t1|
delete from t1|
--disable_ps2_protocol
select bug13825_3(1)|
--enable_ps2_protocol
select * from t1|
delete from t1|
# Curious case: rolling back to savepoint which is set by first