mariadb/mysql-test/suite/innodb/t
Marko Mäkelä 8f8ba75855 MDEV-27234: Data dictionary recovery was not READ COMMITTED
This also fixes MDEV-20198: Instant ALTER TABLE is not crash safe

InnoDB dictionary recovery wrongly used the READ UNCOMMITTED isolation
level, causing some mismatch. For example, if a table was renamed or
replaced in a transaction, according to READ UNCOMMITTED the table might
not exist at all.

We implement READ COMMITTED isolation level for accessing the dictionary
tables SYS_TABLES, SYS_COLUMNS, SYS_INDEXES, SYS_FIELDS, SYS_VIRTUAL,
SYS_FOREIGN, SYS_FOREIGN_COLS. For most of these tables, no secondary
index exists. For the secondary indexes (on SYS_TABLES.ID,
SYS_FOREIGN.FOR_NAME, SYS_FOREIGN.REF_NAME), we will always look up
the primary key in the clustered index and check if the record actually
is a committed version.

dict_check_sys_tables(): Recover tablespaces also from delete-marked
committed records, so that if a matching .ibd file exists, it will
be removed by fil_delete_tablespace() when the committed delete-marked
SYS_INDEXES record of the clustered index is purged
in row_purge_remove_clust_if_poss_low().

fil_ibd_open(): Change the Boolean parameter "validate" to a ternary
one, to suppress error messages when the file might not exist.
It is possible that a .ibd file was deleted and the server shut down
before the SYS_INDEXES and SYS_TABLES records were purged. Hence, if
dict_check_sys_tables() finds a committed delete-marked record,
we must not complain if the tablespace file is not found.
On Windows, we msut treat ERROR_PATH_NOT_FOUND (directory not found)
in the same way as ERROR_FILE_NOT_FOUND. This fixes a few failures where
a previous test successfully executed DROP DATABASE (and deleted all
files and the directory), but a committed delete-marked SYS_TABLES
record had not been purged before server restart.

dict_getnext_system_low(): Do not filter out delete-marked records.

dict_startscan_system(), dict_getnext_system(): Do filter out
delete-marked records, for accessing the INFORMATION_SCHEMA tables.

dict_sys_tables_rec_read(): Return the DB_TRX_ID of the committed
version of the record. This is needed in dict_load_table_low().

dict_load_foreign_cols(), dict_load_foreign(): Add a parameter for
the current transaction identifier. In some DDL operations, the
FOREIGN KEY constraints are being loaded from the data dictionary
before the DDL transaction has been committed. For SYS_FOREIGN
and SYS_FOREIGN_COLS, we must implement the special case of
READ COMMITTED that the changes of the uncommitted current transaction
are visible.

dict_load_foreign(): Validate the table name. We could find a
SYS_FOREIGN.ID via a committed delete-marked secondary index record
that does not match the REF_NAME or FOR_NAME of the secondary index record.

dict_load_index_low(): Optionally take the table as a parameter,
so that table->def_trx_id can be updated in case of a
committed delete-marked SYS_INDEXES record corresponding
to DROP INDEX, but not corresponding to an index stub of ADD INDEX.

dict_load_indexes(): Do not update table->def_trx_id
in case of delete-marked records.

rec_is_metadata(), rec_offs_make_valid(), rec_get_offsets_func(),
row_build_low(): Relax some assertions. We may now have
!index->is_instant() even if a metadata record is present in the index.
Previously, the recovery of instant ADD/DROP COLUMN assumed
that READ UNCOMMITTED of the data dictionary will be performed.
Now, we will have a READ COMMITTED copy of the data dictionary
cache, and a READ UNCOMMITTED copy of the metadata record.

btr_page_reorganize_low(): Correctly update the FIL_PAGE_TYPE
when rolling back an instant ADD/DROP COLUMN operation.

row_rec_to_index_entry_impl(): Relax some assertions,
and disallow accessing "extra" fields. This fixes the recovery
of a crash during an instant ADD COLUMN after a successful
instant DROP COLUMN, in the test innodb.instant_alter_crash.

Tested by: Matthias Leich
2022-03-28 08:37:51 +03:00
..
101_compatibility.test Merge branch '10.2' into 10.3 2022-01-29 15:41:05 +01:00
add_constraint.test
alter_algorithm.combinations MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
alter_algorithm.inc
alter_algorithm.test MDEV-16288 ALTER TABLE…ALGORITHM=DEFAULT does not override alter_algorithm 2020-05-04 09:35:38 +05:30
alter_algorithm2.test Merge 10.3 into 10.4 2020-05-05 20:33:10 +03:00
alter_candidate_key.test MDEV-23805 Make Online DDL to Instant DDL when table is empty 2021-11-12 17:46:35 +05:30
alter_copy.test MDEV-25180 Atomic ALTER TABLE 2021-05-19 22:54:13 +02:00
alter_crash.opt
alter_crash.test MDEV-26936 Recovery crash on rolling back DELETE FROM SYS_INDEXES 2021-10-29 16:25:15 +03:00
alter_crash_rebuild.test MDEV-27234: Data dictionary recovery was not READ COMMITTED 2022-03-28 08:37:51 +03:00
alter_foreign_crash.test MDEV-25748 DROP DATABASE drops unrelated FOREIGN KEY constraints 2021-05-21 18:03:39 +03:00
alter_inplace_perfschema.opt
alter_inplace_perfschema.test
alter_key_block_size-11757.test MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
alter_kill-master.opt
alter_kill.test MDEV-26933 InnoDB fails to detect page number mismatch 2021-11-01 13:35:47 +02:00
alter_large_dml.opt MDEV-15641 InnoDB crash while committing table-rebuilding ALTER TABLE 2019-07-10 12:43:51 +05:30
alter_large_dml.test Merge branch '10.4' into 10.5 2021-02-23 13:06:22 +01:00
alter_mdl_timeout.opt MDEV-24547 Update fails when online alter does rollback due to MDL time out 2021-01-19 16:18:37 +05:30
alter_mdl_timeout.test MDEV-24547 Update fails when online alter does rollback due to MDL time out 2021-01-19 16:18:37 +05:30
alter_missing_tablespace.test MDEV-25743: Unnecessary copying of table names in InnoDB dictionary 2021-05-21 18:03:40 +03:00
alter_non_null.inc
alter_not_null.combinations
alter_not_null.test
alter_not_null_debug.test MDEV-23805 Make Online DDL to Instant DDL when table is empty 2021-11-12 17:46:35 +05:30
alter_partitioned.test Merge 10.5 into 10.6 2021-09-11 17:55:27 +03:00
alter_partitioned_debug.test
alter_partitioned_xa.test
alter_primary_key.test MDEV-23805 Make Online DDL to Instant DDL when table is empty 2021-11-12 17:46:35 +05:30
alter_rename_existing.test MDEV-25524 heap-use-after-free in fil_space_t::rename() 2021-04-29 18:31:59 +03:00
alter_sql_mode.combinations
alter_sql_mode.inc
alter_table.test Merge branch '10.4' into 10.5 2021-07-31 23:19:51 +02:00
alter_varchar_change.test Merge branch '10.3' into 10.4 2021-02-23 09:25:57 +01:00
analyze_table.test Fix for using uninitialized memory 2020-05-15 15:10:58 +03:00
auto_increment_dup.opt
auto_increment_dup.test MDEV-17614: After-merge fix 2019-08-12 18:50:54 +03:00
autoinc_debug.test MDEV-12227 Defer writes to the InnoDB temporary tablespace 2020-12-09 09:22:13 +02:00
autoinc_persist.test MDEV-515 Reduce InnoDB undo logging for insert into empty table 2021-01-25 18:41:27 +02:00
binlog_consistent.test MDEV-24576 Atomic CREATE TABLE 2021-05-19 22:54:13 +02:00
blob-crash.test Merge 10.3 into 10.4 2019-07-02 21:44:58 +03:00
blob-update-debug.test MDEV-21360 global debug_dbug pre-test value restoration issues 2020-01-15 18:06:24 +01:00
blob_cmp_empty.test MDEV-27746 Wrong comparision of BLOB's empty preffix with non-preffixed BLOB causes rows count mismatch for clustered and secondary indexes during non-locking read 2022-02-11 12:26:27 +03:00
blob_unique2pk.test
buf_pool_resize_oom.opt MDEV-13626: Clean up the buffer pool resizing tests from MySQL 5.7 2020-03-19 13:01:20 +02:00
buf_pool_resize_oom.test MDEV-13626: Clean up the buffer pool resizing tests from MySQL 5.7 2020-03-19 13:01:20 +02:00
check_ibd_filesize.test MDEV-26537 InnoDB corrupts files due to incorrect st_blksize calculation 2021-09-10 19:15:41 +03:00
corrupted_during_recovery.opt MDEV-19541: Add a forgotten test case 2019-05-29 08:14:49 +03:00
corrupted_during_recovery.test MDEV-15053 Reduce buf_pool_t::mutex contention 2020-06-05 12:35:46 +03:00
count_distinct.test
create-index-debug.test
create-index.test
create_isl_with_direct.opt
create_isl_with_direct.test MDEV-26870 --skip-symbolic-links does not disallow .isl file creation 2022-01-21 14:43:59 +02:00
create_select.test MDEV-20102 Phantom InnoDB table remains after interrupted CREATE...SELECT 2019-07-22 14:55:46 +03:00
create_table_insert_skip_locked.test MDEV-25433: SKIP LOCKED should imply NOWAIT 2021-04-19 14:04:02 +10:00
cursor-restore-locking.test MDEV-20605 Awaken transaction can miss inserted by other transaction records due to wrong persistent cursor restoration 2022-02-21 12:49:54 +03:00
data_types.opt
data_types.test MDEV-16708: fix in test failures(added --enable_prepared_warnings/--disable_prepared_warnings) 2021-06-17 19:30:24 +02:00
ddl_purge.test Merge 10.5 into 10.6 2021-11-16 16:30:45 +02:00
deadlock_detect.combinations MDEV-24738: Extend the test innodb.deadlock_detect 2021-02-17 12:34:24 +02:00
deadlock_detect.test MDEV-24738 Improve the InnoDB deadlock checker 2021-02-17 12:44:08 +02:00
default_row_format_alter.test Merge branch '10.3' into 10.4 2021-07-31 22:59:58 +02:00
default_row_format_compatibility.test Merge 10.5 into 10.6 2021-10-27 10:06:02 +03:00
default_row_format_create.test MDEV-27973 SIGSEGV in ha_innobase::reset() after TRUNCATE of TEMPORARY TABLE 2022-03-01 17:52:45 +02:00
defrag_mdl-9155.test
dml_purge.test
doublewrite.combinations
doublewrite.test MDEV-26631 InnoDB fails to fetch page from doublewrite buffer 2021-09-24 18:44:16 +05:30
dropdb.test MDEV-27336 Crash on DROP DATABASE due to out-of-bounds result from InnoDB SUBSTR() 2021-12-21 17:33:26 +02:00
encryption_threads_shutdown.opt MDEV-24612: innodb hangs if it's initialization is broken before encryption threads are started 2021-01-19 06:43:56 +03:00
encryption_threads_shutdown.test MDEV-24612 fixup: Skip the test for --embedded 2021-01-28 07:51:43 +02:00
evict_tables_on_commit_debug.test MDEV-26879 innodb_evict_tables_on_commit_debug=on makes table creation hang 2022-01-05 12:14:01 +02:00
file_format_defaults.test MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
flush.opt MDEV-24049 InnoDB: Failing assertion: node->is_open() in fil_space_t::flush_low 2020-10-29 09:15:35 +02:00
flush.test MDEV-24049 InnoDB: Failing assertion: node->is_open() in fil_space_t::flush_low 2020-10-29 09:15:35 +02:00
foreign-keys.test Merge 10.3 into 10.4 2020-09-03 15:53:38 +03:00
foreign_key.combinations MDEV-24101 innodb_random_read_ahead=ON causes hang on DDL or shutdown 2020-11-03 12:41:41 +02:00
foreign_key.test Merge 10.5 into 10.6 2022-02-17 14:37:17 +02:00
foreign_key_debug.test Merge branch '10.3' into 10.4 2020-05-09 20:36:58 +02:00
full_crc32_import.test Merge 10.4 into 10.5 2021-08-19 11:52:35 +03:00
gap_locks.test MDEV-24224 Gap lock on delete in 10.5 using READ COMMITTED 2020-11-18 10:27:18 +02:00
group_commit.test MDEV-515 Reduce InnoDB undo logging for insert into empty table 2021-01-25 18:41:27 +02:00
group_commit_binlog_pos-master.opt mtr: aix - stack-trace is optional 2021-07-22 15:22:47 +10:00
group_commit_binlog_pos.test MDEV-24576 Atomic CREATE TABLE 2021-05-19 22:54:13 +02:00
group_commit_binlog_pos_no_optimize_thread-master.opt mtr: aix - stack-trace is optional 2021-07-22 15:22:47 +10:00
group_commit_binlog_pos_no_optimize_thread.test MDEV-24576 Atomic CREATE TABLE 2021-05-19 22:54:13 +02:00
group_commit_crash-master.opt mtr: aix - stack-trace is optional 2021-07-22 15:22:47 +10:00
group_commit_crash.test
group_commit_crash_no_optimize_thread-master.opt mtr: aix - stack-trace is optional 2021-07-22 15:22:47 +10:00
group_commit_crash_no_optimize_thread.test
group_commit_force_recovery-master.opt MDEV-24302: RESET MASTER hangs 2021-03-29 15:16:23 +03:00
group_commit_force_recovery.test MDEV-24302: RESET MASTER hangs 2021-03-29 15:16:23 +03:00
group_commit_no_optimize_thread-master.opt
group_commit_no_optimize_thread.test MDEV-515 Reduce InnoDB undo logging for insert into empty table 2021-01-25 18:41:27 +02:00
help_url.test
ibuf_not_empty.combinations MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00
ibuf_not_empty.test MDEV-27734 Set innodb_change_buffering=none by default 2022-02-09 08:36:41 +02:00
implicit_gap_lock_convertion.test MDEV-26206 gap lock is not set if implicit lock exists 2021-08-17 16:09:55 +03:00
import_bugs.test MDEV-27006 Assertion `!lock_trx_has_sys_table_locks(trx)' failed in dberr_t row_discard_tablespace_for_mysql(dict_table_t*, trx_t*) 2021-11-09 18:08:12 +05:30
import_corrupted.test MDEV-20931 fixup: innodb.import_corrtupted test cleanup 2021-08-19 13:02:05 +03:00
index_merge_threshold.opt MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
index_merge_threshold.test
index_tree_operation.opt
index_tree_operation.test
index_vcol_purge_startup.test MDEV-25792 server hangs on early shutdown if InnoDB needs to purge indexed virtual columns 2021-05-27 16:46:21 +02:00
information_schema_grants.opt MDEV-21452: Remove os_event_t, MUTEX_EVENT, TTASEventMutex, sync_array 2020-12-15 17:56:17 +02:00
information_schema_grants.test MDEV-21452: Remove os_event_t, MUTEX_EVENT, TTASEventMutex, sync_array 2020-12-15 17:56:17 +02:00
innodb-16k-master.opt MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
innodb-16k.test Merge 10.5 into 10.6 2022-02-17 14:37:17 +02:00
innodb-32k-crash-master.opt
innodb-32k-crash.test MDEV-20832 Don't print "row size too large" warnings in error log if innodb_strict_mode=OFF and log_warnings<=2 2019-11-20 19:48:03 +07:00
innodb-32k-master.opt
innodb-32k.test MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
innodb-64k-crash-master.opt
innodb-64k-crash.test MDEV-20832 Don't print "row size too large" warnings in error log if innodb_strict_mode=OFF and log_warnings<=2 2019-11-20 19:48:03 +07:00
innodb-64k-master.opt
innodb-64k.test Merge 10.1 into 10.2 2020-08-13 07:38:35 +03:00
innodb-agregate.test
innodb-alter-autoinc.test
innodb-alter-debug.test MDEV-26903: Assertion ctx->trx->state == TRX_STATE_ACTIVE on DROP INDEX 2021-10-26 09:54:37 +03:00
innodb-alter-nullable.test MDEV-18819 ALTER_COLUMN_VCOL is not set for generated stored columns 2019-10-30 16:47:43 +01:00
innodb-alter-table.test Speed up buildbot by requiring --big-test for some slow tests 2019-05-29 08:28:15 +03:00
innodb-alter-tempfile.test Merge 10.5 into 10.6 2021-11-16 16:30:45 +02:00
innodb-alter-timestamp.test MDEV-26458 Crash on ALTER TABLE after DISCARD TABLESPACE 2021-08-23 09:13:55 +03:00
innodb-alter.opt
innodb-alter.test Merge 10.5 into 10.6 2021-07-02 17:00:05 +03:00
innodb-analyze.test MDEV-19551 Remove alias innodb_stats_sample_pages 2019-05-23 10:25:12 +03:00
innodb-autoinc-18274.test
innodb-autoinc-44030.test
innodb-autoinc-56228-master.opt
innodb-autoinc-56228.test
innodb-autoinc-61209.test
innodb-autoinc-optimize.test
innodb-autoinc.opt
innodb-autoinc.test Merge branch '10.1' into 10.2 2019-10-30 21:33:01 +01:00
innodb-bigblob.opt
innodb-bigblob.test
innodb-blob.test MDEV-21608 Assertion `n_ext == dtuple_get_n_ext(dtuple)' failed during updation of PK 2020-02-07 16:01:31 +05:30
innodb-bug-14068765.test
innodb-bug-14084530.test
innodb-change-buffer-recovery-master.opt MDEV-19514 preparation: Extend innodb.innodb-change-buffer-recovery 2019-09-26 13:03:40 +03:00
innodb-change-buffer-recovery.test MDEV-27734 Set innodb_change_buffering=none by default 2022-02-09 08:36:41 +02:00
innodb-consistent-master.opt
innodb-consistent.test
innodb-corrupted-table.test Merge 10.2 into 10.3 2020-08-21 19:18:34 +03:00
innodb-dict.test MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
innodb-enlarge-blob.opt
innodb-enlarge-blob.test
innodb-fk-virtual.test
innodb-fk-warnings.test MDEV-20480 Obsolete internal parser for FK in InnoDB 2019-11-20 13:18:31 +03:00
innodb-fk.test MDEV-25642 InnoDB rename table copy DDL fails while dropping the table 2021-06-09 20:19:21 +05:30
innodb-fkcheck.test Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
innodb-get-fk.test Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
innodb-index-debug.opt
innodb-index-debug.test Merge 10.5 into 10.6 2021-11-16 16:30:45 +02:00
innodb-index-online-delete.test
innodb-index-online-fk.opt
innodb-index-online-fk.test
innodb-index-online-norebuild.opt
innodb-index-online-norebuild.test
innodb-index-online-purge.test
innodb-index-online.opt Reduce innodb_log_buffer_size 2020-02-18 10:54:56 +02:00
innodb-index-online.test Merge 10.5 into 10.6 2021-11-16 16:30:45 +02:00
innodb-index.opt MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
innodb-index.test
innodb-index_ucs2.opt MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
innodb-index_ucs2.test
innodb-isolation.test MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
innodb-lock.test MDEV-24700 Assertion "lock not found"==0 in lock_table_x_unlock() 2021-01-27 16:54:38 +02:00
innodb-lru-force-no-free-page.test
innodb-master.opt
innodb-mdev-7408.opt
innodb-mdev-7408.test
innodb-mdev-7513-master.opt
innodb-mdev-7513.test Merge remote-tracking branch 10.2 into 10.3 2019-12-02 14:35:10 +02:00
innodb-mdev7046.test MDEV-18650: Options deprecated in previous versions - storage_engine 2020-02-13 13:42:01 +02:00
innodb-on-duplicate-update.test
innodb-online-alter-gis.test MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
innodb-page_compression_bzip2.test Merge 10.5 to 10.6 2022-03-25 11:31:49 +11:00
innodb-page_compression_default.test
innodb-page_compression_lz4.test Merge 10.5 to 10.6 2022-03-25 11:31:49 +11:00
innodb-page_compression_lzma.test Merge 10.5 to 10.6 2022-03-25 11:31:49 +11:00
innodb-page_compression_lzo.test Merge 10.5 to 10.6 2022-03-25 11:31:49 +11:00
innodb-page_compression_snappy.test
innodb-page_compression_tables.test MDEV-23974 Tests fail due to [Warning] InnoDB: Trying to delete tablespace 2022-03-23 16:42:43 +02:00
innodb-page_compression_zip.test Merge 10.5 to 10.6 2022-03-25 11:31:49 +11:00
innodb-read-view.test Clean up innodb.innodb-read-view 2019-08-29 08:23:19 +03:00
innodb-replace-debug.test MDEV-21360 global debug_dbug pre-test value restoration issues 2020-01-15 18:06:24 +01:00
innodb-replace.test
innodb-rollback.test
innodb-semi-consistent-master.opt
innodb-semi-consistent.test
innodb-stats-initialize-failure.test MDEV-21360 global debug_dbug pre-test value restoration issues 2020-01-15 18:06:24 +01:00
innodb-stats-modified-counter.opt MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
innodb-stats-modified-counter.test
innodb-stats-sample.test MDEV-19551 Remove alias innodb_stats_sample_pages 2019-05-23 10:25:12 +03:00
innodb-system-table-view.opt MDEV-22343 Remove SYS_TABLESPACES and SYS_DATAFILES 2020-11-11 11:15:11 +02:00
innodb-system-table-view.test MDEV-20149 innodb.innodb-system-table-view fails with wrong result 2019-08-29 18:27:01 +03:00
innodb-table-online-master.opt
innodb-table-online.test Make innodb.innodb-table-online more stable 2021-11-25 14:03:20 +02:00
innodb-timeout.test
innodb-trim.test MDEV-23855: Remove fil_system.LRU and reduce fil_system.mutex contention 2020-10-26 17:09:01 +02:00
innodb-truncate.test MDEV-24861 Assertion `trx->rsegs.m_redo.rseg' failed in innodb_prepare_commit_versioned 2021-02-15 10:19:57 +02:00
innodb-ucs2.test
innodb-update-insert.test
innodb-virtual-columns-debug.test MDEV-20143 innodb.innodb-virtual-columns-debug failed in buildbot with wrong result 2019-09-10 16:14:50 +03:00
innodb-virtual-columns.test MDEV-17005: Re-enable existing tests for non-debug server 2019-07-22 17:33:08 +03:00
innodb-virtual-columns2.test MDEV-23632 ALTER TABLE...ADD KEY creates corrupted index on virtual column 2021-01-05 19:19:27 +10:00
innodb-wl5522-1.test
innodb-wl5522-debug.test Merge 10.5 into 10.6 2021-10-27 10:06:02 +03:00
innodb-wl5522.test Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
innodb-wl5980-alter.opt
innodb-wl5980-alter.test Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
innodb-wl5980-debug.test MDEV-26870 --skip-symbolic-links does not disallow .isl file creation 2022-01-21 14:43:59 +02:00
innodb-xa.test
innodb.opt
innodb.test MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
innodb_28867993.test
innodb_autoinc_lock_mode_zero-master.opt
innodb_autoinc_lock_mode_zero.test
innodb_buffer_pool_dump_pct.test MDEV-12626: Import innodb_buffer_pool_dump_pct adjusted for MDEV-11454 2019-07-02 15:24:23 +03:00
innodb_buffer_pool_fail.test MDEV-25019 memory allocation failures during startup because 2021-04-07 16:42:09 +05:30
innodb_buffer_pool_load_now.opt MDEV-13626: Import and adjust buffer pool resizing tests from MySQL 5.7 2020-03-19 11:17:20 +02:00
innodb_buffer_pool_load_now.test MDEV-13626: Clean up the buffer pool resizing tests from MySQL 5.7 2020-03-19 13:01:20 +02:00
innodb_buffer_pool_resize.opt
innodb_buffer_pool_resize.test MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
innodb_buffer_pool_resize_bigtest.opt MDEV-27891: Make the test work with debug builds 2022-03-08 09:04:24 +02:00
innodb_buffer_pool_resize_bigtest.test MDEV-27891: Make the test work with debug builds 2022-03-08 09:04:24 +02:00
innodb_buffer_pool_resize_debug.opt MDEV-13626: Import and adjust buffer pool resizing tests from MySQL 5.7 2020-03-19 11:17:20 +02:00
innodb_buffer_pool_resize_debug.test MDEV-23379 Deprecate&ignore InnoDB concurrency throttling parameters 2020-08-04 06:59:29 +03:00
innodb_buffer_pool_resize_temporary.test MDEV-24659 Assertion !fsp_is_system_temporary(bpage->id().space()) failed in buf_flush_relocate_on_flush_list() 2021-01-23 17:45:03 +02:00
innodb_buffer_pool_resize_with_chunks.opt MDEV-27467: innodb to enforce the minimum innodb_buffer_pool_size in SET GLOBAL 2022-01-19 11:10:45 +11:00
innodb_buffer_pool_resize_with_chunks.test Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
innodb_bug21704.test
innodb_bug30423.test
innodb_bug30919-master.opt
innodb_bug30919.test MDEV-16708: fix in test failures(added --enable_prepared_warnings/--disable_prepared_warnings) 2021-06-17 19:30:24 +02:00
innodb_bug34300.test Fix various spelling errors still found in code 2021-03-22 18:10:39 +11:00
innodb_bug35220.test MDEV-18650: Options deprecated in previous versions - storage_engine 2020-02-13 13:42:01 +02:00
innodb_bug38231.test MDEV-18650: Options deprecated in previous versions - storage_engine 2020-02-13 13:42:01 +02:00
innodb_bug39438-master.opt
innodb_bug39438.test MDEV-18650: Options deprecated in previous versions - storage_engine 2020-02-13 13:42:01 +02:00
innodb_bug40360.test
innodb_bug40565.test
innodb_bug41904.test
innodb_bug42419.test
innodb_bug44032.test
innodb_bug44369.test
innodb_bug44571.test
innodb_bug45357.test
innodb_bug46000.test
innodb_bug46676.test
innodb_bug47621.test
innodb_bug47622.test
innodb_bug47777.test
innodb_bug48024.test
innodb_bug49164.test
innodb_bug51378.test
innodb_bug51920.test MDEV-16708: fix in test failures caused by missing warnings received in prepare response packet 2021-06-17 19:30:24 +02:00
innodb_bug52199.test
innodb_bug52663.test
innodb_bug53046.test MDEV-21452: Replace ib_mutex_t with mysql_mutex_t 2020-12-15 17:56:18 +02:00
innodb_bug53290.test
innodb_bug53592.test
innodb_bug53674-master.opt MDEV-19544 Remove innodb_locks_unsafe_for_binlog 2019-05-23 10:25:12 +03:00
innodb_bug53674.test
innodb_bug53756-master.opt mtr: fix innodb_bug53756 on aix 2021-07-06 15:29:00 +10:00
innodb_bug53756.test
innodb_bug54044.test
innodb_bug56143.test
innodb_bug56716.test
innodb_bug56947.test MDEV-21360 global debug_dbug pre-test value restoration issues 2020-01-15 18:06:24 +01:00
innodb_bug57252.test MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
innodb_bug57255.test
innodb_bug57904.test
innodb_bug59307.test
innodb_bug59410.test
innodb_bug59641.test
innodb_bug59733.test
innodb_bug60196-master.opt
innodb_bug60196.test MDEV-23511 shutdown_server 10 times out, causing server kill at shutdown 2020-08-21 14:48:53 +03:00
innodb_bug60229.test
innodb_bug68148.test Merge 10.3 into 10.4, except for MDEV-20265 2019-08-23 08:06:17 +03:00
innodb_bug84958.test MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
innodb_bug11754376.test MDEV-21360 global debug_dbug pre-test value restoration issues 2020-01-15 18:06:24 +01:00
innodb_bug12400341.test MDEV-23397 Remove deprecated InnoDB options in 10.6 2020-08-04 12:51:59 +03:00
innodb_bug12661768.test
innodb_bug12902967.test Make all #sql temporary table names uniform 2020-04-19 17:33:51 +03:00
innodb_bug13510739.test
innodb_bug14007649.test
innodb_bug14147491-master.opt mtr: aix - stack-trace is optional 2021-07-22 15:22:47 +10:00
innodb_bug14147491.test MDEV-15053 Reduce buf_pool_t::mutex contention 2020-06-05 12:35:46 +03:00
innodb_bug14676111.opt
innodb_bug14676111.test
innodb_bug30113362.opt MDEV-21509 Possible hang during purge of history, or rollback 2020-01-17 14:27:28 +02:00
innodb_bug30113362.test Disable from valgrind big innodb tests that doesn't run well in valgrind 2020-10-21 03:09:29 +03:00
innodb_bulk_create_index.test
innodb_bulk_create_index_debug.test
innodb_bulk_create_index_flush.opt Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
innodb_bulk_create_index_replication.test
innodb_bulk_create_index_small.test
innodb_corrupt_bit.opt
innodb_corrupt_bit.test MDEV-21360 global debug_dbug pre-test value restoration issues 2020-01-15 18:06:24 +01:00
innodb_ctype_big5.test MDEV-18650: Options deprecated in previous versions - storage_engine 2020-02-13 13:42:01 +02:00
innodb_ctype_latin1.test MDEV-18650: Options deprecated in previous versions - storage_engine 2020-02-13 13:42:01 +02:00
innodb_ctype_ldml-master.opt
innodb_ctype_ldml.test MDEV-8334: Rename utf8 to utf8mb3 2021-05-19 06:48:36 +02:00
innodb_ctype_tis620.test Merge 10.4 into 10.5 2021-11-09 08:50:33 +02:00
innodb_ctype_utf8.test MDEV-18650: Options deprecated in previous versions - storage_engine 2020-02-13 13:42:01 +02:00
innodb_default_row_format.combinations
innodb_default_row_format.inc
innodb_defrag_binlog.opt
innodb_defrag_binlog.test
innodb_defrag_concurrent.opt MDEV-21725 Optimize btr_page_reorganize_low() redo logging 2020-02-18 10:54:28 +02:00
innodb_defrag_concurrent.test MDEV-20370 Crash after OPTIMIZE TABLE on TEMPORARY TABLE 2020-03-17 16:28:16 +02:00
innodb_defrag_stats.opt
innodb_defrag_stats.test Merge 10.5 into 10.6 2021-09-30 10:38:44 +03:00
innodb_defrag_stats_many_tables.opt
innodb_defrag_stats_many_tables.test
innodb_defragment.opt
innodb_defragment.test Don't run innodb_defgragment under valgrind (too slow) 2022-02-08 14:32:28 +02:00
innodb_defragment_fill_factor.opt
innodb_defragment_fill_factor.test
innodb_defragment_small.test
innodb_force_pk.opt
innodb_force_pk.test
innodb_force_recovery.test Merge 10.4 into 10.5 2022-02-25 13:27:41 +02:00
innodb_force_recovery_rollback.test MDEV-23339 innodb_force_recovery=2 may still abort the rollback of recovered transactions 2020-07-30 09:24:36 +03:00
innodb_gis.test MDEV-18650: Options deprecated in previous versions - storage_engine 2020-02-13 13:42:01 +02:00
innodb_information_schema.test Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
innodb_information_schema_buffer.opt
innodb_information_schema_buffer.test MDEV-15053 Reduce buf_pool_t::mutex contention 2020-06-05 12:35:46 +03:00
innodb_information_schema_tables.opt MDEV-23397 Remove deprecated InnoDB options in 10.6 2020-08-04 12:51:59 +03:00
innodb_information_schema_tables.test
innodb_lock_wait_timeout_1-master.opt
innodb_lock_wait_timeout_1.test MDEV-19544 Remove innodb_locks_unsafe_for_binlog 2019-05-23 10:25:12 +03:00
innodb_max_recordsize_32k.opt MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
innodb_max_recordsize_32k.test MDEV-20832 Don't print "row size too large" warnings in error log if innodb_strict_mode=OFF and log_warnings<=2 2019-11-20 19:48:03 +07:00
innodb_max_recordsize_64k.opt MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
innodb_max_recordsize_64k.test MDEV-20832 Don't print "row size too large" warnings in error log if innodb_strict_mode=OFF and log_warnings<=2 2019-11-20 19:48:03 +07:00
innodb_multi_update.test MDEV-24346 valgrind error in main.precedence 2020-12-19 11:44:42 +01:00
innodb_mysql-master.opt
innodb_mysql.test MDEV-20374: innodb.innodb_mysql fails sporadically in BB 2019-08-19 11:54:26 +03:00
innodb_mysql_rbk-master.opt
innodb_mysql_rbk.test
innodb_notembedded.test
innodb_prefix_index_restart_server.test
innodb_query_cache.test
innodb_rename_index.test MDEV-21889 Typo fix: ER_KEY_DOES_NOT_EXISTS 2020-04-04 00:52:54 +03:00
innodb_scrub.opt MDEV-8139 Fix Scrubbing 2020-06-12 09:17:51 +05:30
innodb_scrub.test MDEV-23855: Improve InnoDB log checkpoint performance 2020-10-26 17:09:01 +02:00
innodb_skip_innodb_is_tables.opt MDEV-21452: Remove os_event_t, MUTEX_EVENT, TTASEventMutex, sync_array 2020-12-15 17:56:17 +02:00
innodb_skip_innodb_is_tables.test MDEV-21452: Remove os_event_t, MUTEX_EVENT, TTASEventMutex, sync_array 2020-12-15 17:56:17 +02:00
innodb_stats.test Run innodb.innodb_stats test with EITS disabled. 2020-12-11 17:33:44 +03:00
innodb_stats_create_on_corrupted.test MDEV-25907: Assertion failed in dict_table_schema_check() 2021-06-14 12:38:56 +03:00
innodb_stats_create_table.test
innodb_stats_drop_locked.test MDEV-25919: Lock tables before acquiring dict_sys.latch 2021-08-31 13:54:44 +03:00
innodb_stats_fetch.test
innodb_stats_fetch_corrupted.test Cleanup: Simplify dict_table_schema_check() 2021-05-21 18:03:39 +03:00
innodb_stats_fetch_nonexistent.test
innodb_stats_persistent.test Clean up innodb.innodb_stats_persistent 2019-10-24 21:20:53 +03:00
innodb_stats_persistent_debug.test
innodb_stats_rename_table.test
innodb_stats_rename_table_if_exists.test MDEV-25506 (3 of 3): Do not delete .ibd files before commit 2021-06-09 17:06:07 +03:00
innodb_status_variables.test MDEV-22103 INNODB_ENCRYPTION_NUM_KEY_REQUESTS is missing from INFORMATION_SCHEMA.GLOBAL_STATUS 2020-04-01 11:19:12 +03:00
innodb_sys_var_valgrind.test MDEV-22393 Corruption for SET GLOBAL innodb_ string variables 2020-04-28 16:09:07 +03:00
innodb_timeout_rollback-master.opt
innodb_timeout_rollback.test
innodb_trx_weight.test MDEV-24818 Concurrent use of InnoDB table is impossible until the first transaction is finished 2021-03-16 15:20:26 +02:00
innodb_uninstall.opt
innodb_uninstall.test
innodb_wl6326.opt MDEV-13626: Add the WL#6326 tests 2020-01-17 14:27:28 +02:00
innodb_wl6326.test MDEV-22242 B-trees can become extremely skewed 2020-04-14 18:43:03 +03:00
insert_debug.test
insert_into_empty.test MDEV-25496 Assertion 'trx->bulk_insert' failed on INSERT 2021-06-29 15:20:33 +03:00
instant_alter.opt MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
instant_alter.test Merge 10.4 into 10.5 2021-05-03 14:34:48 +03:00
instant_alter_bugs.test Merge 10.5 into 10.6 2022-03-15 14:49:24 +02:00
instant_alter_charset.test Merge remote-tracking branch 'upstream/10.4' into 10.5 2021-09-10 17:16:18 +03:00
instant_alter_crash.test Cleanup: Remove a test hack 2021-07-26 14:51:19 +03:00
instant_alter_debug.combinations MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
instant_alter_debug.test Merge 10.4 into 10.5 2022-03-07 09:26:50 +02:00
instant_alter_extend.combinations
instant_alter_extend.test MDEV-22771 Instant extension of CHAR column is wrongly allowed 2020-07-20 14:15:56 +03:00
instant_alter_import.test Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
instant_alter_index_rename.test MDEV-25950 Ignoring strange row from mysql.innodb_index_stats after DDL 2021-06-22 17:52:54 +03:00
instant_alter_inject.test
instant_alter_limit.test MDEV-21787 Alter table failure tries to access uninitialized column 2020-05-26 20:27:13 +05:30
instant_alter_null.test MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
instant_alter_purge.test Merge 10.3 into 10.4 2020-10-29 13:38:38 +02:00
instant_alter_rollback.test
instant_auto_inc.test
instant_drop.test
leaf_page_corrupted_during_recovery.combinations Merge 10.3 into 10.4 2019-05-29 22:17:00 +03:00
leaf_page_corrupted_during_recovery.opt MDEV-19541: Add a forgotten test case 2019-05-29 08:14:49 +03:00
leaf_page_corrupted_during_recovery.test MDEV-27058 fixup: Crash in innodb.leaf_page_corrupted_during_recovery 2022-02-03 17:02:27 +01:00
lock_delete_updated.test MDEV-27992 DELETE fails to delete record after blocking is released 2022-03-07 16:42:05 +03:00
lock_deleted.test
lock_insert_into_empty.test Speed up the test innodb.lock_insert_into_empty 2021-07-01 10:04:47 +03:00
log_corruption.test MDEV-26933 InnoDB fails to detect page number mismatch 2021-11-01 13:35:47 +02:00
log_data_file_size.opt
log_data_file_size.test
log_file.test Merge 10.5 into 10.6 2022-01-04 09:26:38 +02:00
log_file_name.test MDEV-25506 (3 of 3): Do not delete .ibd files before commit 2021-06-09 17:06:07 +03:00
log_file_name_debug.test Merge 10.4 into 10.5 2020-05-05 21:16:22 +03:00
log_file_size.test MDEV-23397 Remove deprecated InnoDB options in 10.6 2020-08-04 12:51:59 +03:00
max_record_size.test MDEV-19292 "Row size too large" error when creating table with lots columns when row format is DYNAMIC or COMPRESSED 2019-07-05 17:02:21 +03:00
mdev-117.test Updated optimizer costs in multi_range_read_info_const() and sql_select.cc 2020-03-27 03:58:32 +02:00
mdev-14846.opt MDEV-14846 InnoDB: assertion on trx->state because of deadlock error ignored 2021-10-11 12:26:43 +03:00
mdev-14846.test MDEV-14846 InnoDB: assertion on trx->state because of deadlock error ignored 2021-10-11 12:26:43 +03:00
mdev-15707.opt
mdev-15707.test Speed up buildbot by requiring --big-test for some slow tests 2019-05-29 08:28:15 +03:00
missing_tablespaces.test Cleanup: Remove useless message "If you are installing InnoDB" 2021-05-14 08:26:51 +03:00
monitor.test MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
multi_repair-7404.test
mvcc.test MDEV-23198 Crash in REPLACE 2020-07-31 11:54:35 +03:00
mvcc_secondary.test MDEV-25459 MVCC read from index on CHAR or VARCHAR wrongly omits rows 2021-04-24 09:26:49 +03:00
no_pad.test MDEV-25440: Indexed CHAR columns are broken with NO_PAD collations 2022-01-26 12:42:17 +02:00
page_cleaner.test MDEV-24917 Page cleaner wrongly remains idle 2021-02-18 18:20:50 +02:00
page_id_innochecksum.test MDEV-26933 InnoDB fails to detect page number mismatch 2021-11-01 13:35:47 +02:00
page_reorganize.test MDEV-27993 Assertion failed in btr_page_reorganize_low() 2022-03-03 11:51:25 +02:00
partition_locking.test MDEV-13115: Add Oracle SKIP LOCKED tests cases 2021-04-08 16:51:37 +10:00
purge.test Replace innodb_zip.16k with innodb_zip.page_size 2019-06-24 17:07:20 +03:00
purge_secondary.opt MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
purge_secondary.test MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00
purge_thread_shutdown.test
read_only_recover_committed.test Merge 10.5 into 10.6 2022-01-04 09:26:38 +02:00
read_only_recovery.test MDEV-26007 Rollback unnecessarily initiates redo log write 2021-06-24 15:00:34 +03:00
readahead.test MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
recovery_memory.opt MDEV-26784 [Warning] InnoDB: Difficult to find free blocks in the buffer pool 2022-01-21 14:15:18 +05:30
recovery_memory.test MDEV-26784 [Warning] InnoDB: Difficult to find free blocks in the buffer pool 2022-01-21 14:15:18 +05:30
recovery_shutdown.test Merge 10.4 into 10.5 2019-09-06 17:16:40 +03:00
redo_log_during_checkpoint.test Stabilize innodb.redo_log_during_checkpoint 2022-03-11 09:46:50 +02:00
rename_table.opt MDEV-22343 Remove SYS_TABLESPACES and SYS_DATAFILES 2020-11-11 11:15:11 +02:00
rename_table.test MDEV-25509 Atomic DDL: Assertion `err != DB_DUPLICATE_KEY' fails 2021-04-30 21:39:51 +05:30
restart.opt MDEV-27467: innodb to enforce the minimum innodb_buffer_pool_size in SET GLOBAL 2022-01-19 11:10:45 +11:00
restart.test Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
row_format_redundant.test MDEV-27234: Data dictionary recovery was not READ COMMITTED 2022-03-28 08:37:51 +03:00
row_lock.test
row_size_error_log_warnings_3.test MDEV-21429 TRUNCATE and OPTIMIZE are being refused due to "row size too large" 2020-01-07 11:02:12 +02:00
skip_locked_nowait.test GIS skip_locked_nowait test needs fixing 2021-04-08 16:51:37 +10:00
skip_symbolic_links.opt MDEV-26870 --skip-symbolic-links does not disallow .isl file creation 2022-01-21 14:43:59 +02:00
skip_symbolic_links.test MDEV-26870 --skip-symbolic-links does not disallow .isl file creation 2022-01-21 14:43:59 +02:00
snapshot.test
sp_temp_table.test MDEV-22189: Change error messages inside code to have mariadb instead of 2021-05-24 11:38:13 +05:30
stat_tables.test MDEV-20354 All but last insert ignored in InnoDB tables when table locked 2019-10-30 23:14:44 +01:00
stats_persistent.test MDEV-23991 dict_table_stats_lock() has unnecessarily long scope 2020-10-27 19:09:20 +03:00
stored_fk.test
strict_mode.test Merge 10.2 into 10.3 2019-07-16 18:39:21 +03:00
system_tables.test
table_definition_cache_debug.opt
table_definition_cache_debug.test MDEV-23855: Remove fil_system.LRU and reduce fil_system.mutex contention 2020-10-26 17:09:01 +02:00
table_flags.combinations
table_flags.opt MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
table_flags.test MDEV-25506 (3 of 3): Do not delete .ibd files before commit 2021-06-09 17:06:07 +03:00
table_index_statistics.inc
table_index_statistics.test
temp_table.test MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default 2020-11-11 11:15:11 +02:00
temp_table_savepoint.test Partition the test innodb.temp_table_savepoint 2020-06-08 12:55:04 +03:00
temporary_table.test Merge 10.5 into 10.6 2022-01-04 09:26:38 +02:00
temporary_table_optimization.opt MDEV-22343 Remove SYS_TABLESPACES and SYS_DATAFILES 2020-11-11 11:15:11 +02:00
temporary_table_optimization.test MDEV-22343 Remove SYS_TABLESPACES and SYS_DATAFILES 2020-11-11 11:15:11 +02:00
tmpdir.test
trigger.test
trigger_error.test
truncate.test MDEV-25506 (3 of 3): Do not delete .ibd files before commit 2021-06-09 17:06:07 +03:00
truncate_crash.test
truncate_foreign.test MDEV-26554: Races between INSERT on child and DDL on parent table 2021-10-18 18:03:12 +03:00
truncate_missing.test MDEV-25743: Unnecessary copying of table names in InnoDB dictionary 2021-05-21 18:03:40 +03:00
trx_id_future.combinations MDEV-20138 innodb.trx_id_future fails on 10.4+ 2019-08-14 11:58:22 +03:00
trx_id_future.test Merge branch '10.3' into 10.4 2019-09-06 11:53:10 +02:00
undo_log.test MDEV-20832 Don't print "row size too large" warnings in error log if innodb_strict_mode=OFF and log_warnings<=2 2019-11-20 19:48:03 +07:00
undo_truncate.opt MDEV-26445 innodb_undo_log_truncate is unnecessarily slow 2021-09-24 08:24:03 +03:00
undo_truncate.test MDEV-23974 Tests fail due to [Warning] InnoDB: Trying to delete tablespace 2022-03-23 16:42:43 +02:00
undo_truncate_recover.combinations
undo_truncate_recover.opt MDEV-19200: shutdown timeout on innodb.undo_truncate_recover 2019-08-16 09:56:43 +03:00
undo_truncate_recover.test Disable from valgrind big innodb tests that doesn't run well in valgrind 2020-10-21 03:09:29 +03:00
update-cascade.test
update_time-master.opt MDEV-14804 innodb.update_time failed in buildbot with wrong result 2021-10-19 08:46:16 +03:00
update_time.test Merge 10.5 into 10.6 2021-10-21 16:06:34 +03:00
update_time_wl6658.test
xa_debug.test
xa_recovery.test MDEV-25506 (3 of 3): Do not delete .ibd files before commit 2021-06-09 17:06:07 +03:00
xa_recovery_debug.test MDEV-13626: Make test more robust 2020-05-15 22:54:05 +03:00