mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			594 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			594 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
--source include/not_embedded.inc
 | 
						|
--source include/have_innodb.inc
 | 
						|
--source include/have_symlink.inc
 | 
						|
 | 
						|
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;
 | 
						|
  |