1
0
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:
Magnus Svensson
2009-01-27 16:35:52 +01:00
parent 3d06fb9138
commit db045c0bbd

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)