Commit db045c0b authored by Magnus Svensson's avatar Magnus Svensson

WL#4189 mtr.pl v2

 - Bypass --secure-file-priv by loading the file from the client
   using LOAD DATA LOCAL INFILE
parent 3d06fb91
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment