~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
################################################################################
# t/partition_auto_increment_ndb.test                                          #
#                                                                              #
# Purpose:                                                                     #
#  Tests around auto increment column                                          #
#        NDB branch                                                            #
#                                                                              #
# Note: NDB behavior for auto_increment on secondary column in                 #
#       multi-column-index is NOT like MyISAM, instead it uses the same        #
#       behavior as if it was the primary column.                              #
#------------------------------------------------------------------------------#
# Original Author: MattiasJ                                                    #
# Original Date: 2008-09-02                                                    #
# Change Author:                                                               #
# Change Date:                                                                 #
# Change:                                                                      #
################################################################################

#
# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
#       TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
#       THE SOURCED FILES ONLY.
#

# The server must support partitioning.
--source include/have_partition.inc

#------------------------------------------------------------------------------#
# Engine specific settings and requirements
--source include/have_ndb.inc

##### Storage engine to be tested
let $engine= 'NDB';
connection default;
#enable hash partitioning
SET new=on;

#------------------------------------------------------------------------------#
# Execute the tests to be applied to all storage engines
--source suite/parts/inc/partition_auto_increment.inc