mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
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.
This commit is contained in:
16
mysql-test/suite.pm
Normal file
16
mysql-test/suite.pm
Normal file
@ -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 { };
|
||||
|
Reference in New Issue
Block a user