mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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:
@ -185,12 +185,14 @@ let $OUTFILE = $MYSQLTEST_VARDIR/tmp/datadict.out;
|
||||
--error 0,1
|
||||
remove_file $OUTFILE;
|
||||
--replace_result $OUTFILE <OUTFILE>
|
||||
--disable_ps2_protocol
|
||||
eval SELECT table_name,table_schema
|
||||
INTO OUTFILE '$OUTFILE'
|
||||
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
|
||||
LINES TERMINATED BY '\n'
|
||||
FROM information_schema.tables
|
||||
WHERE table_schema = 'db_datadict' ORDER BY table_name;
|
||||
--enable_ps2_protocol
|
||||
cat_file $OUTFILE;
|
||||
remove_file $OUTFILE;
|
||||
#
|
||||
|
Reference in New Issue
Block a user