diff options
author | Kristofer Pettersson <kristofer.pettersson@sun.com> | 2010-05-03 18:14:39 +0200 |
---|---|---|
committer | Kristofer Pettersson <kristofer.pettersson@sun.com> | 2010-05-03 18:14:39 +0200 |
commit | 5b6ebdf086fe0506dc1d2cb70a95f9633fd7a782 (patch) | |
tree | 2952d068c6ed5d80e6bb5b5c84e9724d6530c95f /mysql-test/r/status.result | |
parent | 0f5afe5d7f6eacb125475e43372574bb97387c47 (diff) | |
download | mariadb-git-5b6ebdf086fe0506dc1d2cb70a95f9633fd7a782.tar.gz |
Bug#50373 --secure-file-priv=""
Iterative patch improvement. Previously committed patch
caused wrong result on Windows. The previous patch also
broke secure_file_priv for symlinks since not all file
paths which must be compared against this variable are
normalized using the same norm.
The server variable opt_secure_file_priv wasn't
normalized properly and caused the operations
LOAD DATA INFILE .. INTO TABLE ..
and
SELECT load_file(..)
to do different interpretations of the
--secure-file-priv option.
The patch moves code to the server initialization
routines so that the path always is normalized
once and only once.
It was also intended that setting the option
to an empty string should be equal to
lifting all previously set restrictions. This
is also fixed by this patch.
Diffstat (limited to 'mysql-test/r/status.result')
0 files changed, 0 insertions, 0 deletions