mariadb/mysql-test/suite
Mohammad Tafzeel Shams 7fed014308 MDEV-38140: InnoDB index corruption after UPDATE affecting virtual
columns

Issue:
- Purge thread attempts to purge a secondary index record that is not
  delete-marked.

Root Cause:
- When a secondary index includes a virtual column whose v_pos is
  greater than the number of fields in the clustered index record, the
  virtual column is incorrectly skipped while reading from the undo
  record.
- This leads the purge logic to incorrectly assume it is safe to purge
  the secondary index record.
- The code also confuses the nth virtual column with the nth stored
  column when writing ordering columns at the end of the undo record.

Fix:
- In trx_undo_update_rec_get_update(): Skip a virtual column only
  when v_pos == FIL_NULL, not when v_pos is greater than the number
  of fields.
- In trx_undo_page_report_modify(): Ensure ordering columns are
  written based on the correct stored-column positions, without
  confusing them with virtual-column positions.
2026-01-15 12:19:48 +05:30
..
archive test: archive-big test too big for msan 2025-04-07 11:04:53 +02:00
atomic MDEV-36666 - atomic.alter_table still times out often 2025-04-25 10:40:47 +04:00
binlog MDEV-37541 Race of rolling back and committing transaction to binlog 2025-11-27 19:34:19 +02:00
binlog_encryption Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
client
compat Merge branch '10.5' into 10.6 2025-01-29 11:17:38 +01:00
csv Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
encryption MDEV-36180 Doublewrite recovery of innodb_checksum_algorithm=full_crc32 page_compressed pages does not work 2025-03-26 12:03:44 +01:00
engines Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
federated MDEV-31846: enable cursor protocol for test federatedx_create_handlers 2025-04-07 11:04:53 +02:00
funcs_1 MDEV-38372 ASAN error in InnoDB on malformed WKB 2025-12-26 23:49:46 +01:00
funcs_2 Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
galera MDEV-38374 nonsense code in wsrep_store_key_val_for_row() 2025-12-26 23:49:47 +01:00
galera_3nodes MDEV-37494 Diagnostics_area does not always contain apply error info 2025-09-15 16:48:10 +02:00
galera_3nodes_sr galera mtr tests: synchronization between branches and editions 2025-04-02 04:50:11 +02:00
galera_sr galera tests: synchronization between versions and editions 2025-08-14 17:04:40 +02:00
gcol Merge branch '10.5' into 10.6 2025-04-21 10:43:17 +02:00
handler Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
heap Merge 10.5 into 10.6 2025-01-20 09:57:37 +02:00
innodb MDEV-38140: InnoDB index corruption after UPDATE affecting virtual 2026-01-15 12:19:48 +05:30
innodb_fts MDEV-31892 Server crash upon moving InnoDB table with 2026-01-09 21:15:14 +05:30
innodb_gis MDEV-38372 ASAN error in InnoDB on malformed WKB 2025-12-26 23:49:46 +01:00
innodb_i_s
innodb_zip MDEV-37138: Innochecksum fails to handle doublewrite buffer and 2025-11-11 13:43:43 +05:30
jp
json MDEV-34679 ER_BAD_FIELD uses non-localizable substrings 2024-10-17 21:37:37 +02:00
large_tests fix failing large_tests.maria_recover_encrypted 2024-04-22 17:22:11 +02:00
maria make max_session_mem_used tests more reliable 2025-10-25 18:07:48 +02:00
mariabackup MDEV-38041: MariaBackup fails during rollback of inplace FTS alter table 2025-11-27 11:52:01 +05:30
mtr/t Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
mtr2
multi_source MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
optimizer_unfixed_bugs
parts Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
perfschema make max_session_mem_used tests more reliable 2025-10-25 18:07:48 +02:00
perfschema_stress
period MDEV-37397 Assertion `bitmap_is_set(&read_partitions, next->id)' failed in int partition_info::vers_set_hist_part(THD *) 2025-09-04 17:20:02 +02:00
plugins MDEV-38431: fix database pointer calculation for long passwords 2026-01-14 19:34:33 +01:00
roles Merge 10.5 into 10.6 2025-01-20 09:57:37 +02:00
rpl MDEV-37453 Parallel slave worker crashes during Backup at retrying 2025-10-17 15:46:53 +03:00
s3 MDEV-29157 SELECT using ror_merged scan fails with s3 tables 2025-06-02 14:02:53 +03:00
sql_sequence MDEV-37172 Server crashes in Item_func_nextval::update_table after INSERT to the table, that uses expression with nextval() as default 2025-09-14 19:24:07 +03:00
storage_engine
stress MDEV-34453 Trying to read 16384 bytes at 70368744161280 outside the bounds of the file: ./ibdata1 2024-09-20 20:26:43 +05:30
sys_vars MDEV-37672: Remove innodb_trx_rseg_n_slots_debug 2025-10-22 09:33:53 +03:00
sysschema
unit
vcol MDEV-29155 CREATE OR REPLACE with self-referencing CHECK hangs 2025-05-29 12:34:07 +03:00
versioning MDEV-36817 Server crashes in do_mark_index_columns instead of 2025-05-23 14:46:34 +03:00
wsrep galera: changes for transition to galera library 26.4.23 2025-07-17 17:21:02 +02:00