Skip to content

Commit

Permalink
MDEV-17507 Make MTR tests work for builds without Aria for temporary …
Browse files Browse the repository at this point in the history
…tables

Skip tests which expectedly fail when Aria is not used for temporary tables
  • Loading branch information
elenst committed Nov 19, 2018
1 parent e669e70 commit ae96b47
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mysql-test/include/have_aria_used_for_temp_tables.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (!`SELECT @@aria_used_for_temp_tables`)
{
skip Need Aria to be used for temporary tables;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# bool readonly

--source include/have_aria_used_for_temp_tables.inc
--source include/have_maria.inc
#
# show the global and session values;
Expand Down
1 change: 1 addition & 0 deletions mysql-test/suite/sys_vars/t/sysvars_aria.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--source include/have_aria.inc
--source include/have_aria_used_for_temp_tables.inc
--source include/word_size.inc

--vertical_results
Expand Down
2 changes: 2 additions & 0 deletions mysql-test/suite/sys_vars/t/tmp_disk_table_size_func.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
###################### tmp_memory_table_size_func.test ########################

--source include/have_aria_used_for_temp_tables.inc

--source include/load_sysvars.inc
--source include/have_sequence.inc

Expand Down
4 changes: 4 additions & 0 deletions mysql-test/t/information_schema.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
# on the presence of the log tables (which are CSV-based).
--source include/have_csv.inc

# Without aria_used_for_temp_tables some I_S tables will be MyISAM,
# while the test expects them to be Aria
-- source include/have_aria_used_for_temp_tables.inc

-- source include/have_innodb.inc

# Save the initial number of concurrent sessions
Expand Down

0 comments on commit ae96b47

Please sign in to comment.