3 # Try to create a table with the given partition number
6 eval CREATE
TABLE t1 ( f1 INTEGER, f2
char(20))
7 PARTITION BY
HASH(f1) PARTITIONS $part_number;
9 eval SET @my_errno= $mysql_errno ;
10 let $run= `SELECT @my_errno = 0`;
13 # If this operation was successfull, check + drop this table
16 --source suite/parts/inc/partition_10.inc
19 #### Try to create a table with the given subpartition number
20 eval CREATE
TABLE t1 ( f1 INTEGER, f2
char(20))
21 PARTITION BY RANGE(f1) SUBPARTITION BY
HASH(f1)
22 SUBPARTITIONS $part_number
23 (PARTITION part1 VALUES LESS THAN ($max_row_div2), PARTITION part2 VALUES LESS THAN ($max_int_4));
25 eval SET @my_errno= $mysql_errno ;
26 let $run= `SELECT @my_errno = 0`;
29 # If this operation was successfull, check + drop this table
32 --source suite/parts/inc/partition_10.inc