Skip to content

Commit

Permalink
mtr: remove innodb combinations
Browse files Browse the repository at this point in the history
dead code for about 10 years
  • Loading branch information
vuvova committed May 5, 2024
1 parent df6899b commit 349ca2b
Show file tree
Hide file tree
Showing 28 changed files with 19 additions and 56 deletions.
39 changes: 0 additions & 39 deletions mysql-test/include/have_innodb.combinations

This file was deleted.

17 changes: 17 additions & 0 deletions mysql-test/include/have_innodb.opt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
--innodb
--innodb-cmpmem
--innodb-cmp-per-index
--innodb-trx
--innodb-locks
--innodb-lock-waits
--innodb-metrics
--innodb-buffer-pool-stats
--innodb-buffer-page
--innodb-buffer-page-lru
--innodb-sys-columns
--innodb-sys-fields
--innodb-sys-foreign
--innodb-sys-foreign-cols
--innodb-sys-indexes
--innodb-sys-tables
--innodb-sys-virtual
9 changes: 1 addition & 8 deletions mysql-test/suite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ use My::Platform;
@ISA = qw(My::Suite);

sub skip_combinations {
my @combinations;

# disable innodb combinations for configurations that were not built
push @combinations, 'innodb_plugin' unless $ENV{HA_INNODB_SO};

push @combinations, 'innodb' unless $::mysqld_variables{'innodb'} eq "ON";

my %skip = ( 'include/have_innodb.combinations' => [ @combinations ]);
my %skip;

$skip{'include/innodb_encrypt_log.combinations'} = [ 'crypt' ]
unless $ENV{DEBUG_KEY_MANAGEMENT_SO};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
# "create table tab1 (a bigint primary key, b varchar(2048)) engine=InnoDB;"
#

--source include/have_innodb.inc
--source include/have_innodb_16k.inc

# turn on flags
--disable_query_log
SET GLOBAL innodb_monitor_enable=index_page_merge_attempts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
# "create index index1 on tab1(b(750));"
#

--source include/have_innodb.inc
--source include/have_innodb_16k.inc

# turn on flags
--disable_query_log
SET GLOBAL innodb_monitor_enable=index_page_merge_attempts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
# "create table tab1 (a bigint primary key, b varchar(2048)) engine=InnoDB;"
#

--source include/have_innodb.inc
--source include/have_innodb_16k.inc

# turn on flags
--disable_query_log
SET GLOBAL innodb_monitor_enable=index_page_merge_attempts;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions mysql-test/suite/innodb/t/index_merge_threshold.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#
# Check actual behavior for table, partitioned table and temporary table
# #############################################################
--source include/have_innodb.inc
--source include/have_innodb_16k.inc
--source include/have_partition.inc

Expand Down

0 comments on commit 349ca2b

Please sign in to comment.