1
# Test archive engine when symbolic links are not available.
2
--source include/have_archive.inc
5
--echo # This test shows that DATA DIRECTORY and INDEX DIRECTORY are
6
--echo # ignored where symbolic links are not supported such as Windows.
9
let $data_directory = DATA DIRECTORY = '$MYSQL_TMP_DIR/archive';
10
let $index_directory = INDEX DIRECTORY = '$MYSQL_TMP_DIR/archive';
12
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
13
eval CREATE TABLE t1 (
14
c1 int(10) unsigned NOT NULL AUTO_INCREMENT,
15
c2 varchar(30) NOT NULL,
16
c3 smallint(5) unsigned DEFAULT NULL,
19
$data_directory $index_directory;
21
INSERT INTO t1 VALUES (NULL, "first", 1);
22
INSERT INTO t1 VALUES (NULL, "second", 2);
23
INSERT INTO t1 VALUES (NULL, "third", 3);