-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squash this commit with the previous commit if it pass code review
The ability to have custom result directory for the certain options combination was added to MTR. To use it just add option "mtr-result-dir" in the certain options group in 'combinations' file. The ability to add only the certain list of tests for the certain option combination is added to MTR. For this purpose the new "mtr-tests-list" option is introduced. This option contains comma-separated list of tests in the current suite, which will be executed for the current options combination. As an example of the new options see changed and newly created "combination" files of this commit. The above features are used to test TokuDB and RocksDB native and non-native partitioning, that is why the corresponding test suits have two directories for result files for one directory of tests.
- Loading branch information
1 parent
ac40861
commit 764df7f
Showing
196 changed files
with
429,178 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
mysql-test/suite/parts/inc/disable_native_partitioning.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--let $MYSQLD_DATADIR=`select @@datadir` | ||
|
||
--let $restart_parameters = "restart: --loose-$disable_native_partition_opt=0" | ||
--source include/restart_mysqld.inc | ||
|
||
eval CREATE TABLE t1 (a INT UNSIGNED NOT NULL, PRIMARY KEY(a)) ENGINE = $engine | ||
PARTITION BY RANGE (a) ( | ||
PARTITION p0 VALUES LESS THAN (100), | ||
PARTITION p1 VALUES LESS THAN (200) | ||
); | ||
|
||
--list_files $MYSQLD_DATADIR/test *.par | ||
|
||
DROP TABLE t1; | ||
|
||
--let $restart_parameters = "restart: " | ||
--source include/restart_mysqld.inc | ||
|
||
eval CREATE TABLE t1 (a INT UNSIGNED NOT NULL, PRIMARY KEY(a)) ENGINE = $engine | ||
PARTITION BY RANGE (a) ( | ||
PARTITION p0 VALUES LESS THAN (100), | ||
PARTITION p1 VALUES LESS THAN (200) | ||
); | ||
|
||
--list_files $MYSQLD_DATADIR/test *.par | ||
|
||
DROP TABLE t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.