polardbxengine/mysql-test/suite/gcol_ndb/t/gcol_select_ndb.test

34 lines
1.3 KiB
Plaintext

--source include/have_ndb.inc
#------------------------------------------------------------------------------#
# General not engine specific settings and requirements
--source suite/gcol/inc/gcol_init_vars.pre
#------------------------------------------------------------------------------#
# Engine specific settings and requirements
--source suite/gcol_ndb/inc/mtr_conditionals.inc
##### Storage engine to be tested
# Set the session storage engine
eval SET @@session.default_storage_engine = 'ndbcluster';
## Disable NDB index statistics. This test uses a small table, so stats are not
## reliable, and can cause the "EXPLAIN" portion of the test results to vary
## unpredictably.
SET ndb_index_stat_enable=OFF;
#------------------------------------------------------------------------------#
# Execute the tests to be applied to all storage engines
eval SET optimizer_switch='derived_merge=off';
--source suite/gcol/inc/gcol_select.inc
eval SET optimizer_switch='derived_merge=default';
#------------------------------------------------------------------------------#
# Execute storage engine specific tests
--source suite/gcol_ndb/inc/gcol_select_ndb_extra_tests.inc
#------------------------------------------------------------------------------#
# Cleanup
--source suite/gcol/inc/gcol_cleanup.inc