mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
Merge stella.local:/home2/mydev/mysql-5.0-ateam
into stella.local:/home2/mydev/mysql-5.0-axmrg
This commit is contained in:
commit
aba705b057
2 changed files with 7 additions and 7 deletions
|
@ -100,10 +100,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
|
||||||
|
|
|
@ -127,11 +127,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 $MYSQLTEST_VARDIR 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='$MYSQLTEST_VARDIR/master-data/mysql'
|
||||||
INDEX DIRECTORY='$MYSQL_TEST_DIR/var/master-data/mysql';
|
INDEX DIRECTORY='$MYSQLTEST_VARDIR/master-data/mysql';
|
||||||
--replace_result $MYSQL_TEST_DIR TEST_DIR
|
--replace_result $MYSQLTEST_VARDIR TEST_DIR
|
||||||
--error 1
|
--error 1
|
||||||
RENAME TABLE t1 TO user;
|
RENAME TABLE t1 TO user;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
|
Loading…
Reference in a new issue