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:
Magnus Svensson 2009-01-27 16:35:52 +01:00
parent 6ad47b97e9
commit c1376aeae0

View file

@ -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)