31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
--source include/not_embedded.inc
|
|
--source include/have_innodb.inc
|
|
--source include/not_windows.inc
|
|
|
|
--disable_query_log
|
|
CALL mtr.add_suppression("\\[Warning\\] InnoDB: Failed to set O_DIRECT on file\./ibdata1;OPEN: Invalid argument, continuing anyway. O_DIRECT is known to result in 'Invalid argument' on Linux on tmpfs, see MySQL Bug#26662.");
|
|
|
|
# The below mtr suppression to avoid failure in solaris platform.
|
|
CALL mtr.add_suppression("\\[ERROR\\] InnoDB: Failed to set DIRECTIO_ON on file.*");
|
|
|
|
CALL mtr.add_suppression("\\[ERROR\\] InnoDB: Failed to create check sector file*");
|
|
--enable_query_log
|
|
|
|
SHOW VARIABLES LIKE 'innodb_flush_method';
|
|
|
|
let MYSQLD_DATADIR=`SELECT @@datadir`;
|
|
|
|
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
|
|
|
|
# Create a table with explicit data directory option.
|
|
EVAL CREATE TABLE t1 (x INT) ENGINE=INNODB, DATA DIRECTORY='$MYSQL_TMP_DIR';
|
|
|
|
--echo # Contents of tmp/test directory containing .ibd file
|
|
--list_files $MYSQL_TMP_DIR/test
|
|
|
|
--echo # Contents of the 'test' database directory containing .isl and .frm files
|
|
--list_files $MYSQLD_DATADIR/test
|
|
|
|
DROP TABLE t1;
|
|
--rmdir $MYSQL_TMP_DIR/test
|