1
################################################################################
2
# t/partition_basic_myisam.test #
5
# Tests around Create Partitioned table using DATA/INDEX DIR #
8
#------------------------------------------------------------------------------#
9
# Original Author: mleich #
10
# Original Date: 2006-03-05 #
11
# Change Author: mattiasj #
12
# Change Date: 2008-02-05 #
13
# Change: copied it from partition_basic_myisam.test and kept DATA DIR #
14
################################################################################
17
# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
18
# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
19
# THE SOURCED FILES ONLY.
21
# Please read the README at the end of inc/partition.pre before changing
22
# any of the variables.
25
#------------------------------------------------------------------------------#
26
# General not engine specific settings and requirements
28
##### Options, for debugging support #####
30
let $with_partitioning= 1;
32
##### Option, for displaying files #####
35
##### Number of rows for the INSERT/UPDATE/DELETE/SELECT experiments #####
39
##### Execute more tests #####
40
let $more_trigger_tests= 0;
41
let $more_pk_ui_tests= 0;
43
# The server must support partitioning.
44
--source include/have_partition.inc
45
# The server must support symlink for DATA/INDEX DIRECTORY.
46
--source include/have_symlink.inc
47
# windows does not support symlink for DATA/INDEX DIRECTORY.
48
--source include/not_windows.inc
50
#------------------------------------------------------------------------------#
51
# Engine specific settings and requirements
53
##### Storage engine to be tested
54
let $engine= 'MyISAM';
55
# The server uses in case of MyISAM symlinking (if available) and the expected
56
# results fit to symlinking support.
57
--source include/have_symlink.inc
59
##### Execute the test of "table" files
60
# MyISAM has files per PK, UI, ...
61
let $do_file_tests= 1;
63
##### Execute PRIMARY KEY tests #####
64
# AFAIK MyISAM treats PRIMARY KEYs like UNIQUE INDEXes
67
##### Assign a big number smaller than the maximum value for partitions #####
68
# and smaller than the maximum value of SIGNED INTEGER
69
let $MAX_VALUE= (2147483646);
71
# Generate the prerequisites ($variables, @variables, tables) needed
72
--source suite/parts/inc/partition.pre
74
##### Workarounds for known open engine specific bugs
77
#------------------------------------------------------------------------------#
78
# Execute the tests to be applied to all storage engines
79
--source suite/parts/inc/partition_basic_symlink.inc
81
#------------------------------------------------------------------------------#
82
# Execute storage engine specific tests
84
#------------------------------------------------------------------------------#
86
--source suite/parts/inc/partition_cleanup.inc