• unknown's avatar
    copy from test-extra-5.1 to main tree · ee5eb8bb
    unknown authored
    BitKeeper/etc/ignore:
      Added mysql-test/suite/funcs_1/r/innodb_views.warnings mysql-test/suite/funcs_1/r/memory_trig_03e.warnings mysql-test/suite/funcs_1/r/memory_views.warnings mysql-test/suite/funcs_1/r/myisam_trig_03e.warnings mysql-test/suite/funcs_1/r/myisam_views.warnings mysql-test/suite/funcs_1/r/ndb_trig_03e.warnings mysql-test/suite/funcs_1/r/ndb_views.warnings mysql-test/suite/partitions/r/diff mysql-test/suite/partitions/r/partition_bit_ndb.warnings mysql-test/suite/partitions/r/partition_special_innodb.warnings mysql-test/suite/partitions/r/partition_special_myisam.warnings storage/archive/archive_reader mysql-test/suite/funcs_1/r/innodb_trig_03e.warnings to the ignore list
    mysql-test/suite/funcs_2/include/check_charset.inc:
      inserted newline at the end of file.
    mysql-test/suite/objects/include/drop_all.inc:
      inserted newline at the end of file.
    mysql-test/suite/partitions/include/partition_key_32col.inc:
      inserted newline at the end of file.
    mysql-test/suite/rpl/data/rpl_mixed.dat:
      inserted newline at the end of file.
    mysql-test/suite/rpl/include/rpl_mixed_check_event.inc:
      inserted newline at the end of file.
    mysql-test/suite/rpl/include/rpl_mixed_check_select.inc:
      inserted newline at the end of file.
    mysql-test/suite/rpl/include/rpl_mixed_check_user.inc:
      inserted newline at the end of file.
    mysql-test/suite/rpl/include/rpl_mixed_check_view.inc:
      inserted newline at the end of file.
    ee5eb8bb
partition_syntax_ndb.test 3.63 KB
################################################################################
# t/partition_syntax_ndb.test                                                  #
#                                                                              #
# Purpose:                                                                     #
#  Tests around Create Partitioned table syntax                                #
#        NDB branch                                                            #
#                                                                              #
#------------------------------------------------------------------------------#
# Original Author: ML                                                          #
# Original Date: 2006-03-05                                                    #
# 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 include/partition.pre before changing
# any of the variables.
#

#------------------------------------------------------------------------------#
# General not engine specific settings and requirements

##### Options, for debugging support #####
let $debug= 0;

##### 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. But NDB is partitioned from the start.
# Thats why the next line is set to comment.
# --source include/have_partition.inc

#------------------------------------------------------------------------------#
# Engine specific settings and requirements

##### Storage engine to be tested
let $engine= 'ndbcluster';
--source include/have_ndb.inc

##### Execute the test of "table" files
# NDB has no files per PK, UI, ...
let $do_file_tests= 0;

##### Execute PRIMARY KEY tests                                      #####
# AFAIK NDB is always partitioned using the explicit defined PRIMARY KEY
#       or uses an internal one.
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
# The NDB handler only supports 32 bit integers in VALUES
#     2147483647 seems to be too big.
let $MAX_VALUE= (2147483646);

# Generate the prerequisites ($variables, @variables, tables) needed
--source suite/partitions/include/partition.pre
# --source include/partition.pre

##### Workarounds for known open engine specific bugs
# Bug#18735: Partitions: NDB, UNIQUE INDEX, UPDATE, strange server response
let $fixed_bug18735= 0;

#------------------------------------------------------------------------------#
# Execute the tests to be applied to all storage engines
--source suite/partitions/include/partition_syntax.inc
# --source include/partition_syntax.inc

#------------------------------------------------------------------------------#
# Execute storage engine specific tests

#------------------------------------------------------------------------------#
# Cleanup
--source suite/partitions/include/partition_cleanup.inc
# --source include/partition_cleanup.inc