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:
@ -10,6 +10,7 @@
|
||||
drop table if exists t1,t2;
|
||||
--enable_warnings
|
||||
|
||||
--disable_ps2_protocol
|
||||
create table t1 (a int not null auto_increment, b int not null, primary key(a));
|
||||
insert into t1 (b) values (2),(3),(5),(5),(5),(6),(7),(9);
|
||||
select SQL_CALC_FOUND_ROWS * from t1;
|
||||
@ -292,3 +293,4 @@ select found_rows();
|
||||
select sql_calc_found_rows * from t1 order by c1 limit 2,1;
|
||||
select found_rows();
|
||||
drop table t1;
|
||||
--enable_ps2_protocol
|
||||
|
Reference in New Issue
Block a user