diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-02-07 16:22:36 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-02-07 16:22:36 +0100 |
commit | 2682a280c8095a367fc8cbe2c1323ba4340f75e8 (patch) | |
tree | 4c6aeb798dcb963b0df31cf3da1e823a70d67608 /mysql-test/suite.pm | |
parent | e83dd9b517239dedb727263c7eeda89ada6d4c57 (diff) | |
download | mariadb-git-2682a280c8095a367fc8cbe2c1323ba4340f75e8.tar.gz |
allow suite.pm to skip combinations that originate from test/include files.
storage/innobase/handler/handler0alter.cc:
for NEWDATE key_type says unsigned, thus col->prtype says unsigned,
but field->flags says signed. Use the same flag for value retrieval
that was used for value storage.
Diffstat (limited to 'mysql-test/suite.pm')
-rw-r--r-- | mysql-test/suite.pm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/suite.pm b/mysql-test/suite.pm new file mode 100644 index 00000000000..18290e05bd4 --- /dev/null +++ b/mysql-test/suite.pm @@ -0,0 +1,16 @@ +package My::Suite::Main; + +@ISA = qw(My::Suite); + +sub skip_combinations { + my @combinations; + + push @combinations, 'innodb_plugin' unless $ENV{HA_INNODB_SO}; + push @combinations, 'xtradb_plugin' unless $ENV{HA_XTRADB_SO}; + push @combinations, 'xtradb' unless $::mysqld_variables{'innodb'} eq "ON"; + + ( 'include/have_innodb.combinations' => [ @combinations ] ) +} + +bless { }; + |