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
c2983307
Commit
c2983307
authored
Nov 14, 2007
by
istruewing@stella.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge stella.local:/home2/mydev/mysql-5.0-ateam
into stella.local:/home2/mydev/mysql-5.0-axmrg
parents
83a9db9a
7491e15f
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 @
c2983307
...
...
@@ -100,10 +100,10 @@ t1 CREATE TABLE `t1` (
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
CREATE TABLE t1(a INT)
DATA DIRECTORY='TEST_DIR/
var/
master-data/mysql'
INDEX DIRECTORY='TEST_DIR/
var/
master-data/mysql';
DATA DIRECTORY='TEST_DIR/master-data/mysql'
INDEX DIRECTORY='TEST_DIR/master-data/mysql';
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;
show create table t1;
Table Create Table
...
...
mysql-test/t/symlink.test
View file @
c2983307
...
...
@@ -127,11 +127,11 @@ drop table t1;
#
# 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
)
DATA
DIRECTORY
=
'$MYSQL
_TEST_DIR/var
/master-data/mysql'
INDEX
DIRECTORY
=
'$MYSQL
_TEST_DIR/var
/master-data/mysql'
;
--
replace_result
$MYSQL
_TEST_
DIR
TEST_DIR
DATA
DIRECTORY
=
'$MYSQL
TEST_VARDIR
/master-data/mysql'
INDEX
DIRECTORY
=
'$MYSQL
TEST_VARDIR
/master-data/mysql'
;
--
replace_result
$MYSQL
TEST_VAR
DIR
TEST_DIR
--
error
1
RENAME
TABLE
t1
TO
user
;
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