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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ed8f506d
Commit
ed8f506d
authored
Nov 12, 2007
by
svoj@mysql.com/june.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
symlink.test, symlink.result:
Use proper variable for test.
parent
40a78cd3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
mysql-test/r/symlink.result
mysql-test/r/symlink.result
+3
-3
mysql-test/t/symlink.test
mysql-test/t/symlink.test
+4
-4
No files found.
mysql-test/r/symlink.result
View file @
ed8f506d
...
@@ -91,10 +91,10 @@ t1 CREATE TABLE `t1` (
...
@@ -91,10 +91,10 @@ t1 CREATE TABLE `t1` (
) ENGINE=MyISAM DEFAULT CHARSET=latin1
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
drop table t1;
CREATE TABLE t1(a INT)
CREATE TABLE t1(a INT)
DATA DIRECTORY='TEST_DIR/
var/
master-data/mysql'
DATA DIRECTORY='TEST_DIR/master-data/mysql'
INDEX DIRECTORY='TEST_DIR/
var/
master-data/mysql';
INDEX DIRECTORY='TEST_DIR/master-data/mysql';
RENAME TABLE t1 TO user;
RENAME TABLE t1 TO user;
ERROR HY000: Can't create/write to file 'TEST_DIR/
var/
master-data/mysql/user.MYI' (Errcode: 17)
ERROR HY000: Can't create/write to file 'TEST_DIR/master-data/mysql/user.MYI' (Errcode: 17)
DROP TABLE t1;
DROP TABLE t1;
show create table t1;
show create table t1;
Table Create Table
Table Create Table
...
...
mysql-test/t/symlink.test
View file @
ed8f506d
...
@@ -121,11 +121,11 @@ drop table t1;
...
@@ -121,11 +121,11 @@ drop table t1;
#
#
# BUG#32111 - Security Breach via DATA/INDEX DIRECORY and RENAME TABLE
# BUG#32111 - Security Breach via DATA/INDEX DIRECORY and RENAME TABLE
#
#
--
replace_result
$MYSQL
_TEST_
DIR
TEST_DIR
--
replace_result
$MYSQL
TEST_VAR
DIR
TEST_DIR
eval
CREATE
TABLE
t1
(
a
INT
)
eval
CREATE
TABLE
t1
(
a
INT
)
DATA
DIRECTORY
=
'$MYSQL
_TEST_DIR/var
/master-data/mysql'
DATA
DIRECTORY
=
'$MYSQL
TEST_VARDIR
/master-data/mysql'
INDEX
DIRECTORY
=
'$MYSQL
_TEST_DIR/var
/master-data/mysql'
;
INDEX
DIRECTORY
=
'$MYSQL
TEST_VARDIR
/master-data/mysql'
;
--
replace_result
$MYSQL
_TEST_
DIR
TEST_DIR
--
replace_result
$MYSQL
TEST_VAR
DIR
TEST_DIR
--
error
1
--
error
1
RENAME
TABLE
t1
TO
user
;
RENAME
TABLE
t1
TO
user
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
...
...
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