Debian Codegraph @

mysql-test/suite/handler/ps.test

raw
1 #
2 # MDEV-15729 Server crashes in Field::make_field upon HANDLER READ executed with PS protocol
3 #
4 create table t1 (i int);
5 handler test.t1 open handler_a;
6 flush status;
7 handler handler_a read first;
8 # handler...read must be prepared in --ps-protocol mode
9 --replace_result $PS_PROTOCOL OK
10 if($CURSOR_PROTOCOL)
11 {
12 --replace_result $CURSOR_PROTOCOL OK
13 }
14 --disable_ps_protocol
15 show status like 'Com_stmt_prepare%';
16 --enable_ps_protocol
17 drop table t1;