mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
test fix
This commit is contained in:
parent
13bb7e0a22
commit
4d582db8ea
2 changed files with 7 additions and 4 deletions
|
@ -140,12 +140,12 @@ CREATE TABLE t1(a INT)
|
|||
DATA DIRECTORY='TEST_DIR/var/master-data/test';
|
||||
ERROR HY000: Incorrect arguments to DATA DIRECORY
|
||||
CREATE TABLE t1(a INT)
|
||||
DATA DIRECTORY='/home/gluh/MySQL/Merge/4.1-opt/mysql-test/var/master-data/';
|
||||
DATA DIRECTORY='TEST_DIR/var/master-data/';
|
||||
ERROR HY000: Incorrect arguments to DATA DIRECORY
|
||||
CREATE TABLE t1(a INT)
|
||||
INDEX DIRECTORY='/home/gluh/MySQL/Merge/4.1-opt/mysql-test/var/master-data';
|
||||
INDEX DIRECTORY='TEST_DIR/var/master-data';
|
||||
ERROR HY000: Incorrect arguments to INDEX DIRECORY
|
||||
CREATE TABLE t1(a INT)
|
||||
INDEX DIRECTORY='/home/gluh/MySQL/Merge/4.1-opt/mysql-test/var/master-data_var';
|
||||
ERROR HY000: Can't create/write to file '/home/gluh/MySQL/Merge/4.1-opt/mysql-test/var/master-data_var/t1.MYI' (Errcode: 2)
|
||||
INDEX DIRECTORY='TEST_DIR/var/master-data_var';
|
||||
ERROR HY000: Can't create/write to file 'TEST_DIR/var/master-data_var/t1.MYI' (Errcode: 2)
|
||||
End of 4.1 tests
|
||||
|
|
|
@ -201,12 +201,15 @@ deallocate prepare stmt;
|
|||
--error 1210
|
||||
eval CREATE TABLE t1(a INT)
|
||||
DATA DIRECTORY='$MYSQL_TEST_DIR/var/master-data/test';
|
||||
--replace_result $MYSQL_TEST_DIR TEST_DIR
|
||||
--error 1210
|
||||
eval CREATE TABLE t1(a INT)
|
||||
DATA DIRECTORY='$MYSQL_TEST_DIR/var/master-data/';
|
||||
--replace_result $MYSQL_TEST_DIR TEST_DIR
|
||||
--error 1210
|
||||
eval CREATE TABLE t1(a INT)
|
||||
INDEX DIRECTORY='$MYSQL_TEST_DIR/var/master-data';
|
||||
--replace_result $MYSQL_TEST_DIR TEST_DIR
|
||||
--error 1
|
||||
eval CREATE TABLE t1(a INT)
|
||||
INDEX DIRECTORY='$MYSQL_TEST_DIR/var/master-data_var';
|
||||
|
|
Loading…
Reference in a new issue