mariadb/mysql-test/suite/gcol/t
Marko Mäkelä 1c9f64e54f MDEV-36613 Incorrect undo logging for indexes on virtual columns
Starting with mysql/mysql-server@02f8eaa998
and commit 2e814d4702 the index ID of
indexes on virtual columns was being encoded insufficiently in
InnoDB undo log records.  Only the least significant 32 bits were
being written.  This could lead to some corruption of the affected
indexes on ROLLBACK, as well as to missed chances to remove some
history from such indexes when purging the history of committed
transactions that included DELETE or an UPDATE in the indexes.

dict_hdr_create(): In debug instrumented builds, initialize the
DICT_HDR_INDEX_ID close to the 32-bit barrier, instead of initializing
it to DICT_HDR_FIRST_ID (10).  This will allow the changed code to
be exercised while running ./mtr --suite=gcol,vcol.

trx_undo_log_v_idx(): Encode large index->id in a similar way as
mysql/mysql-server@e00328b4d0
but using a different implementation.

trx_undo_read_v_idx_low(): Decode large index->id in a similar way
as mach_u64_read_much_compressed().

Reviewed by: Debarun Banerjee
2025-04-16 15:55:45 +03:00
..
gcol_archive.test
gcol_blackhole.test
gcol_blocked_sql_funcs_innodb.test
gcol_blocked_sql_funcs_myisam.test
gcol_bug20746926.test
gcol_bugfixes.test MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
gcol_column_def_options_innodb.test MDEV-5800 InnoDB support for indexed vcols 2016-12-12 20:27:42 +01:00
gcol_column_def_options_myisam.test
gcol_handler_innodb.test
gcol_handler_myisam.test
gcol_ins_upd_innodb.test MDEV-17890 Server crash on DELETE with YEAR field with truncated expr 2021-07-12 22:00:39 +03:00
gcol_ins_upd_myisam.test
gcol_keys_innodb.test enable innodb tests for virtual indexed columns (sic!) 2017-08-14 19:45:59 +02:00
gcol_keys_myisam.test
gcol_memory.test
gcol_merge.test MDEV-11066 use MySQL terminology for "virtual columns" 2016-12-12 20:35:51 +01:00
gcol_non_stored_columns_innodb.test
gcol_non_stored_columns_myisam.test
gcol_partition_innodb.test MDEV-16980 Wrongly set tablename len while opening the 2018-10-08 21:40:18 +05:30
gcol_partition_myisam.test
gcol_purge.test MDEV-31355 fixup: Adjust one more test 2023-06-08 10:40:48 +03:00
gcol_rejected_innodb.test
gcol_rollback.test MDEV-30597 Assertion `flag == 1' failed in row_build_index_entry_low 2023-02-14 14:28:27 +05:30
gcol_select_innodb.test
gcol_select_myisam.test
gcol_supported_sql_funcs_innodb.test
gcol_supported_sql_funcs_myisam.test
gcol_trigger_sp_innodb.test
gcol_trigger_sp_myisam.test
gcol_update.test Do not require a debug non-embedded server in the test 2017-09-13 16:02:31 +03:00
gcol_view_innodb.test
gcol_view_myisam.test
innodb_partition.test MDEV-5800 InnoDB support for indexed vcols 2016-12-12 20:27:42 +01:00
innodb_prefix_index_check.test MDEV-13626 Merge InnoDB test cases from MySQL 5.7 2023-11-08 12:17:14 +02:00
innodb_virtual_basic.test MDEV-36613 Incorrect undo logging for indexes on virtual columns 2025-04-16 15:55:45 +03:00
innodb_virtual_blob.test MDEV-5800 InnoDB support for indexed vcols 2016-12-12 20:27:42 +01:00
innodb_virtual_debug.test MDEV-12004: Add the Bug#28825718 test case 2019-04-26 17:40:20 +03:00
innodb_virtual_debug_purge.opt Merge 10.2 into 10.3 2019-09-23 10:25:34 +03:00
innodb_virtual_debug_purge.test MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
innodb_virtual_fk.test MDEV-26866 FOREIGN KEY…SET NULL corrupts an index on a virtual column 2021-10-28 07:32:27 +03:00
innodb_virtual_fk_restart.test Add a test for Bug #28470805 DELETE CASCADE CRASHES ... ON RESTART 2019-01-23 19:45:12 +02:00
innodb_virtual_index.opt MDEV-25872 InnoDB: Assertion failure in row_merge_read_clustered_index upon ALTER on table with indexed virtual columns 2021-06-15 13:15:32 +05:30
innodb_virtual_index.test MDEV-29753 An error is wrongly reported during INSERT with vcol index 2022-10-12 20:49:45 +03:00
innodb_virtual_purge.test MDEV-30024 InnoDB: tried to purge non-delete-marked of a virtual column prefix 2023-09-19 09:31:34 +03:00
innodb_virtual_rebuild.test MDEV-15662 Instant DROP COLUMN or changing the order of columns 2018-10-19 18:57:23 +03:00
innodb_virtual_stats.test MDEV-24564 Statistics are lost after ALTER TABLE 2021-01-28 14:15:01 +02:00
innodb_wl8114.test MDEV-5800 InnoDB support for indexed vcols 2016-12-12 20:27:42 +01:00
main_alter_table.test MDEV-16678: Fix a problem with duplicate #sql2 table names 2019-12-10 16:18:30 +02:00
main_mysqldump.test MDEV-5800 InnoDB support for indexed vcols 2016-12-12 20:27:42 +01:00
rpl_gcol.test
virtual_index_drop.test Fix build without either ENABLED_DEBUG_SYNC or DBUG_OFF 2022-09-23 17:37:52 +03:00