mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
b7b5f6f1ab
includes: * remove some remnants of "Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING" * introduce LOCK_share, now LOCK_ha_data is strictly for engines * rea_create_table() always creates .par file (even in "frm-only" mode) * fix a 5.6 bug, temp file leak on dummy ALTER TABLE
87 lines
3.5 KiB
Text
87 lines
3.5 KiB
Text
#Considering the time taken for this test on slow solaris platforms making it a big test
|
|
--source include/big_test.inc
|
|
# Skiping this test from Valgrind execution as per Bug-14627884
|
|
--source include/not_valgrind.inc
|
|
################################################################################
|
|
# t/partition_basic_innodb.test #
|
|
# #
|
|
# Purpose: #
|
|
# Tests around Create Partitioned table #
|
|
# InnoDB branch #
|
|
# #
|
|
#------------------------------------------------------------------------------#
|
|
# Original Author: mleich #
|
|
# 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
|
|
# 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
|
|
|
|
# Does not work with --embedded
|
|
--source include/not_embedded.inc
|
|
|
|
#------------------------------------------------------------------------------#
|
|
# Engine specific settings and requirements
|
|
|
|
##### Storage engine to be tested
|
|
--source include/have_innodb.inc
|
|
let $engine= 'InnoDB';
|
|
|
|
##### Execute the test of "table" files
|
|
# InnoDB has no files per PK, UI, ... But only .frm file
|
|
let $do_file_tests= 1;
|
|
|
|
##### 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
|
|
--source suite/parts/inc/partition.pre
|
|
|
|
##### Workarounds for known open engine specific bugs
|
|
# none
|
|
|
|
#------------------------------------------------------------------------------#
|
|
# Execute the tests to be applied to all storage engines
|
|
--source suite/parts/inc/partition_basic.inc
|
|
|
|
#------------------------------------------------------------------------------#
|
|
# Execute storage engine specific tests
|
|
|
|
#------------------------------------------------------------------------------#
|
|
# Cleanup
|
|
--source suite/parts/inc/partition_cleanup.inc
|