mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
846494a48e
REORGANIZE TEST parts WHERE ENGINE='NDB' ;) Updated tests for better matching NDB's limitations. Removed some duplicate tests.
54 lines
2.4 KiB
Text
54 lines
2.4 KiB
Text
################################################################################
|
|
# t/partition_int_ndb.test #
|
|
# #
|
|
# Purpose: #
|
|
# Tests around integer type #
|
|
# NDB branch #
|
|
# #
|
|
#------------------------------------------------------------------------------#
|
|
# Original Author: HH #
|
|
# Original Date: 2006-08-01 #
|
|
# Change Author: #
|
|
# Change Date: #
|
|
# Change: #
|
|
################################################################################
|
|
|
|
#
|
|
# NOTE: PLEASE DO NOT ADD NOT NDB 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;
|
|
|
|
# The server must support partitioning.
|
|
--source include/have_partition.inc
|
|
|
|
#------------------------------------------------------------------------------#
|
|
# Engine specific settings and requirements
|
|
|
|
##### Storage engine to be tested
|
|
--source include/have_ndb.inc
|
|
let $engine= 'NDB';
|
|
connection default;
|
|
|
|
##### max rows to be inserted
|
|
let $maxrows=1024;
|
|
# range, list and hash partitioning in ndb requires new_mode
|
|
--disable_query_log
|
|
set new=on;
|
|
--enable_query_log
|
|
#------------------------------------------------------------------------------#
|
|
# Execute the tests to be applied to all storage engines
|
|
--source suite/parts/inc/partition_tinyint.inc
|
|
--source suite/parts/inc/partition_smallint.inc
|
|
--source suite/parts/inc/partition_int.inc
|
|
--source suite/parts/inc/partition_mediumint.inc
|
|
--source suite/parts/inc/partition_bigint.inc
|