mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
WL#4189 mtr.pl v2
- Bypass --secure-file-priv by loading the file from the client using LOAD DATA LOCAL INFILE
This commit is contained in:
@ -30,7 +30,7 @@ let $log_error= query_get_value(show variables like 'log_error', Value, 1);
|
||||
let $log_warning= $log_error.warnings;
|
||||
|
||||
# Load the warnings into a temporary table
|
||||
eval load data infile '$log_warning' into table error_log
|
||||
eval load data local infile '$log_warning' into table error_log
|
||||
fields terminated by 'xykls37'
|
||||
ignore 1 lines
|
||||
(line)
|
||||
|
Reference in New Issue
Block a user