| 1 |
--source include/not_embedded.inc |
| 2 |
--source include/have_innodb.inc |
| 3 |
--source include/have_symlink.inc |
| 4 |
|
| 5 |
SHOW VARIABLES LIKE 'innodb_flush_method'; |
| 6 |
|
| 7 |
let MYSQLD_DATADIR=`SELECT @@datadir`; |
| 8 |
|
| 9 |
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR |
| 10 |
|
| 11 |
# Create a table with explicit data directory option. |
| 12 |
EVAL CREATE TABLE t1 (x INT) ENGINE=INNODB, DATA DIRECTORY='$MYSQL_TMP_DIR'; |
| 13 |
|
| 14 |
--echo # Contents of tmp/test directory containing .ibd file |
| 15 |
--list_files $MYSQL_TMP_DIR/test |
| 16 |
|
| 17 |
--echo # Contents of the 'test' database directory containing .isl and .frm files |
| 18 |
--list_files $MYSQLD_DATADIR/test |
| 19 |
|
| 20 |
DROP TABLE t1; |
| 21 |
|