[MDEV-13625] Merge InnoDB test cases from MySQL 5.6 Created: 2017-08-23 Updated: 2023-10-31 Resolved: 2023-10-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | compat56 | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Until now, the MariaDB process for merging changes from MySQL 5.6 is ignoring additions to tests (new test cases or test files), even though Oracle has been publishing tests for other than security bug fixes for quite some time now. Several InnoDB tests are missing as a result of this. I have added some of them. Especially some tests for ALTER TABLE…ALGORITHM=INPLACE are missing. To make the task more challenging, some tests may have been renamed or refactored in MySQL or MariaDB. For example, the innodb_zip suite was refactored from tests in the InnoDB suite. Also, MariaDB supports slightly different semantics and SQL syntax than MySQL. So, some tests will necessarily be different or not applicable. That said, we must ensure that all applicable test cases from the following MySQL 5.6 tests are present in MariaDB 10.0:
All the affected tests should be documented in this ticket in detail (especially those that are already covered by other MariaDB tests). |
| Comments |
| Comment by Marko Mäkelä [ 2017-08-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Because I need some MySQL 5.6 tests for testing | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2017-10-05 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch mdev-13625. My state for merging test cases from mysql 5.6.37 with 10.0. --------------innodb_fts suite
Failing test(s): innodb_fts.fts_compatibility
---------------innodb_zip suite:
Failing test(s): innodb_zip.innodb_4k innodb_zip.innodb_cmp_per_index
--------------------------------------------------------------------------------
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2017-10-05 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
---innodb suite
-------------modified
Failing test(s): innodb.innodb-autoinc innodb.innodb_file_limit_check innodb.innodb-wl6445-1 innodb.innodb_stats_auto_recalc innodb.innodb-log-file-size innodb.innodb-system-table-view innodb.innodb_io_pf innodb.innodb_i_s_innodb_trx innodb.innodb-wl5980-linux innodb.innodb_page_size_func innodb.innodb_stats_fetch innodb.innodb_stats_fetch_corrupted innodb.innodb_stats_auto_recalc_ddl | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-10-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
alice, at least the test innodb.innodb-log-file-size is already present as innodb.log_file_size, added by me in Please try harder to find tests that already exist in MariaDB, either 10.0 or 10.2. Also, try to enumerate the Oracle modifications that the MariaDB tests are missing. Note that | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2017-10-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Marko Mäkelä, please take a look on tests from innodb_zip suite – wl6501_* 1) in 10.0 query 'truncate table t' succeeded - should have failed with errno 2013... -what is expected result there?
so tests are skipped, instead of starting server with this page size. 3) (not problem, just fyi) in 10.2 wl6501_tests are in innodb_zip suite, but files innodb_wl6501_crash.inc, innodb_wl6501_crash_temp.inc are in innodb suite (innodb/include)
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2017-10-26 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
test innodb_zip.wl6347_comp_indx_stat in 10.0 https://github.com/MariaDB/server/blob/mdev-13625/mysql-test/suite/innodb_zip/t/wl6347_comp_indx_stat.test
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2017-10-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tests for different innodb_page_size should be combined and innodb_page_size.inc should be used. The TRUNCATE TABLE code was rewritten in 5.7 as part of WL#6501 and in a different way in 10.2.19 by "WL#6347 InnoDB: Index level compression stats" should be in 5.6 (and 10.1) too. When preparing for | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2023-10-31 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Because the MariaDB Server 10.0 and 10.1 branches have already reached EOL, it does not make sense to implement this. The MySQL 5.7 tests ( |