mariadb/mysql-test/suite/parts/t/partition_alter2_2_innodb.test

81 lines
3.2 KiB
Text
Raw Normal View History

2007-02-06 13:35:54 +01:00
################################################################################
# t/partition_alter2_2_innodb.test #
2007-02-06 13:35:54 +01:00
# #
# Purpose: #
# Tests around Alter column used in partitioning function #
# InnoDB branch #
# #
#------------------------------------------------------------------------------#
# Original Author: mleich #
2007-02-06 13:35:54 +01:00
# Original Date: 2006-03-05 #
# Change Author: #
# Change Date: #
# Change: #
################################################################################
#
# NOTE: PLEASE DO NOT ADD NOT INNODB SPECIFIC TESTCASES HERE !
# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
# THE SOURCED FILES ONLY.
#
# Please read the README at the end of inc/partition.pre before changing
2007-02-06 13:35:54 +01:00
# any of the variables.
#
#------------------------------------------------------------------------------#
# General not engine specific settings and requirements
##### Options, for debugging support #####
let $debug= 0;
let $with_partitioning= 1;
##### Option, for displaying files #####
let $ls= 1;
##### Number of rows for the INSERT/UPDATE/DELETE/SELECT experiments #####
# on partioned tables
SET @max_row = 20;
##### Execute more tests #####
let $more_trigger_tests= 0;
let $more_pk_ui_tests= 0;
# The server must support partitioning.
--source include/have_partition.inc
#------------------------------------------------------------------------------#
# Engine specific settings and requirements
##### Storage engine to be tested
--source include/have_innodb.inc
let $engine= 'InnoDB';
2007-02-06 13:35:54 +01:00
##### Execute the test of "table" files
# InnoDB has no files per PK, UI, ...
let $do_file_tests= 0;
##### Execute PRIMARY KEY tests #####
# AFAIK InnoDB clusters the table around PRIMARY KEYs.
let $do_pk_tests= 1;
##### Assign a big number smaller than the maximum value for partitions #####
# and smaller than the maximum value of SIGNED INTEGER
let $MAX_VALUE= (2147483646);
# Generate the prerequisites ($variables, @variables, tables) needed
2007-04-30 16:24:13 +02:00
--source suite/parts/inc/partition.pre
2007-02-06 13:35:54 +01:00
##### Workarounds for known open engine specific bugs
# none
#------------------------------------------------------------------------------#
# Execute the tests to be applied to all storage engines
--source suite/parts/inc/partition_alter2_2.inc
2007-02-06 13:35:54 +01:00
#------------------------------------------------------------------------------#
# Execute storage engine specific tests
#------------------------------------------------------------------------------#
# Cleanup
2007-04-30 16:24:13 +02:00
--source suite/parts/inc/partition_cleanup.inc