mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 17:54:16 +01:00
MDEV-31005: Make working cursor-protocol
Excluded cases in main./secure_file_priv_win Fix for v.10.5
This commit is contained in:
parent
17cb65593a
commit
aa49770d79
1 changed files with 4 additions and 1 deletions
|
@ -13,10 +13,11 @@ LET $MYSQL_TMP_DIR_UCASE= `SELECT upper('$MYSQL_TMP_DIR')`;
|
||||||
LET $MYSQL_TMP_DIR_LCASE= `SELECT lower('$MYSQL_TMP_DIR')`;
|
LET $MYSQL_TMP_DIR_LCASE= `SELECT lower('$MYSQL_TMP_DIR')`;
|
||||||
|
|
||||||
--disable_ps2_protocol
|
--disable_ps2_protocol
|
||||||
|
--disable_cursor_protocol
|
||||||
#create the file
|
#create the file
|
||||||
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
|
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
|
||||||
eval SELECT * FROM t1 INTO OUTFILE '$MYSQL_TMP_DIR/B11764517.tmp';
|
eval SELECT * FROM t1 INTO OUTFILE '$MYSQL_TMP_DIR/B11764517.tmp';
|
||||||
|
--enable_cursor_protocol
|
||||||
|
|
||||||
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
|
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
|
||||||
show global variables like 'secure_file_priv';
|
show global variables like 'secure_file_priv';
|
||||||
|
@ -52,6 +53,7 @@ eval LOAD DATA INFILE '$MYSQL_TMP_DIR_LCASE/B11764517.tmp' INTO TABLE t1;
|
||||||
--error ER_OPTION_PREVENTS_STATEMENT
|
--error ER_OPTION_PREVENTS_STATEMENT
|
||||||
eval LOAD DATA INFILE "$MYSQL_TMP_DIR\\\\..a..\\\\..\\\\..\\\\B11764517.tmp" into table t1;
|
eval LOAD DATA INFILE "$MYSQL_TMP_DIR\\\\..a..\\\\..\\\\..\\\\B11764517.tmp" into table t1;
|
||||||
|
|
||||||
|
--disable_cursor_protocol
|
||||||
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
|
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
|
||||||
--error ER_OPTION_PREVENTS_STATEMENT
|
--error ER_OPTION_PREVENTS_STATEMENT
|
||||||
eval SELECT * FROM t1 INTO OUTFILE '$MYSQL_TMP_DIR\\\\..a..\\\\..\\\\..\\\\B11764517-2.tmp';
|
eval SELECT * FROM t1 INTO OUTFILE '$MYSQL_TMP_DIR\\\\..a..\\\\..\\\\..\\\\B11764517-2.tmp';
|
||||||
|
@ -67,6 +69,7 @@ eval SELECT * FROM t1 INTO OUTFILE '$MYSQL_TMP_DIR_UCASE/B11764517-4.tmp';
|
||||||
|
|
||||||
--replace_result $MYSQL_TMP_DIR_LCASE MYSQL_TMP_DIR_LCASE
|
--replace_result $MYSQL_TMP_DIR_LCASE MYSQL_TMP_DIR_LCASE
|
||||||
eval SELECT * FROM t1 INTO OUTFILE '$MYSQL_TMP_DIR_LCASE/B11764517-5.tmp';
|
eval SELECT * FROM t1 INTO OUTFILE '$MYSQL_TMP_DIR_LCASE/B11764517-5.tmp';
|
||||||
|
--enable_cursor_protocol
|
||||||
|
|
||||||
--error 0,1
|
--error 0,1
|
||||||
--remove_file $MYSQL_TMP_DIR/B11764517.tmp;
|
--remove_file $MYSQL_TMP_DIR/B11764517.tmp;
|
||||||
|
|
Loading…
Add table
Reference in a new issue