1 ################################################################################
2 # inc/partition_basic_symlink.inc #
5 # Basic tests around create partitioned table with/without PRIMARY KEY and #
7 # Also includes test for DATA/INDEX DIR which requires symlinked files #
9 #------------------------------------------------------------------------------#
10 # Original Author: mleich #
11 # Original Date: 2006-03-05 #
12 # Change Author: mattiasj #
13 # Change Date: 2008-02-06 #
14 # Change: copied it from partition_basic.inc and kept DATA/INDEX DIR #
15 ################################################################################
16 --enable_abort_on_error
22 # Make directory for partition data
23 let $data_dir_path= $MYSQLTEST_VARDIR/mysql-
test-data-dir;
24 --mkdir $data_dir_path
25 let $data_directory= DATA DIRECTORY =
'$data_dir_path';
28 # Make directory for partition index
29 let $idx_dir_path= $MYSQLTEST_VARDIR/mysql-
test-idx-dir;
31 let $index_directory= INDEX DIRECTORY =
'$idx_dir_path';
33 let $with_directories= 1;
34 --echo #========================================================================
35 --echo # 0.5 use partition_basic with DATA/INDEX DIRECTORY
36 --echo #========================================================================
37 --source suite/parts/inc/partition_basic.inc
38 --echo #========================================================================
39 --echo # 5 use partition_directory with DATA/INDEX DIRECTORY
40 --echo #========================================================================
41 --source suite/parts/inc/partition_directory.inc
42 --rmdir $data_dir_path
44 let $with_directories= 0;