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
aba705b0
Commit
aba705b0
authored
Nov 14, 2007
by
unknown
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
7730b46b
001c78e2
Changes
2
Hide 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 @
aba705b0
...
...
@@ -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 @
aba705b0
...
...
@@ -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