Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3b52208f
Commit
3b52208f
authored
May 04, 2011
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addendum to the fix for bug #11764517 : replaced an absolute path.
parent
59d75160
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/r/secure_file_priv_win.result
mysql-test/r/secure_file_priv_win.result
+1
-1
mysql-test/t/secure_file_priv_win.test
mysql-test/t/secure_file_priv_win.test
+1
-1
No files found.
mysql-test/r/secure_file_priv_win.result
View file @
3b52208f
CREATE TABLE t1 (c1 longtext);
INSERT INTO t1 values ('a');
SELECT * FROM t1 INTO OUTFILE '
d:/mysql/work/test-5.0-security/mysql-test/var/tmp
/B11764517.tmp';
SELECT * FROM t1 INTO OUTFILE '
MYSQL_TMP_DIR
/B11764517.tmp';
show global variables like 'secure_file_priv';
Variable_name Value
secure_file_priv MYSQL_TMP_DIR/
...
...
mysql-test/t/secure_file_priv_win.test
View file @
3b52208f
...
...
@@ -14,7 +14,7 @@ LET $MYSQL_TMP_DIR_LCASE= `SELECT lower('$MYSQL_TMP_DIR')`;
#create the file
--
replace_result
$MYSQL_TMP_DIR
MYSQL_TMP_DIR
eval
SELECT
*
FROM
t1
INTO
OUTFILE
'$MYSQL_TMP_DIR
_LCASE
/B11764517.tmp'
;
eval
SELECT
*
FROM
t1
INTO
OUTFILE
'$MYSQL_TMP_DIR/B11764517.tmp'
;
--
replace_result
$MYSQL_TMP_DIR
MYSQL_TMP_DIR
show
global
variables
like
'secure_file_priv'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment