mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge branch '10.2' into 10.3
This commit is contained in:
@ -373,7 +373,9 @@ connection con2;
|
||||
send optimize table t1;
|
||||
--sleep 1
|
||||
connection default;
|
||||
--disable_ps_protocol
|
||||
handler t1 read next;
|
||||
--enable_ps_protocol
|
||||
handler t1 close;
|
||||
connection con2;
|
||||
reap;
|
||||
|
9
mysql-test/suite/handler/ps.result
Normal file
9
mysql-test/suite/handler/ps.result
Normal file
@ -0,0 +1,9 @@
|
||||
create table t1 (i int);
|
||||
handler test.t1 open handler_a;
|
||||
flush status;
|
||||
handler handler_a read first;
|
||||
i
|
||||
show status like 'Com_stmt_prepare%';
|
||||
Variable_name Value
|
||||
Com_stmt_prepare OK
|
||||
drop table t1;
|
11
mysql-test/suite/handler/ps.test
Normal file
11
mysql-test/suite/handler/ps.test
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# MDEV-15729 Server crashes in Field::make_field upon HANDLER READ executed with PS protocol
|
||||
#
|
||||
create table t1 (i int);
|
||||
handler test.t1 open handler_a;
|
||||
flush status;
|
||||
handler handler_a read first;
|
||||
# handler...read must be prepared in --ps-protocol mode
|
||||
--replace_result $PS_PROTOCOL OK
|
||||
show status like 'Com_stmt_prepare%';
|
||||
drop table t1;
|
Reference in New Issue
Block a user