mariadb/mysql-test/suite
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
..
archive MDEV-22964: archive.archive and main.mysqlbinlog_{row,stmt}_compressed) 2024-12-16 10:04:07 +11:00
binlog MDEV-33658 1/2 Refactoring: extract Key length initialization 2025-01-26 16:15:46 +01:00
binlog_encryption Add --source include/long_test.inc to some tests 2025-03-15 11:15:54 +01:00
client
compat MDEV-27769 Assertion failed in Field::ptr_in_record upon UPDATE in ORACLE mode 2025-01-26 16:15:46 +01:00
csv Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
encryption MDEV-35869 Wrong result using degenerated subquery with window function 2025-01-23 13:50:29 -08:00
engines MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
federated MDEV-29968 Functions in default values in tables with some character sets break SHOW CREATE (and mysqldump) 2025-01-17 15:39:55 +04:00
funcs_1 MDEV-34716 Fix mysql.servers socket max length too short 2024-12-17 10:40:57 +11:00
funcs_2 Add --source include/long_test.inc to some tests 2025-03-15 11:15:54 +01:00
galera MDEV-36116: correction for error codes 2025-04-14 18:20:25 +02:00
galera_3nodes galera tests: corrections for garbd-related tests 2025-04-02 04:29:40 +02:00
galera_3nodes_sr galera: synchronization changes to stop random test failures 2025-04-02 04:29:34 +02:00
galera_sr MDEV-36393 Test failure on galera_sr.GCF-572 2025-04-02 04:29:40 +02:00
gcol MDEV-36613 Incorrect undo logging for indexes on virtual columns 2025-04-16 15:55:45 +03:00
handler MDEV-30263 Assertion failure in Protocol::end_statement upon HANDLER READ with invalid timestamp 2024-12-13 16:27:14 +01:00
heap MDEV-28130 MariaDB SEGV issue at tree_search_next 2025-01-14 18:56:14 +03:00
innodb Add --source include/long_test.inc to some tests 2025-03-15 11:15:54 +01:00
innodb_fts Correct cursor protocol tests main.{loaddata,grant_plugin} & innodb_fts.fulltext 2024-11-21 21:43:44 +11:00
innodb_gis MDEV-35420 Server aborts while deleting the record in spatial index 2025-03-21 15:26:21 +01:00
innodb_i_s Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
innodb_zip MDEV-33658 1/2 Refactoring: extract Key length initialization 2025-01-26 16:15:46 +01:00
jp MDEV-29446 Change SHOW CREATE TABLE to display default collation 2022-09-12 22:10:39 +04:00
json MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
large_tests MDEV-16944 Fix file sharing issues on Windows in mysqltest 2024-04-17 16:52:37 +02:00
maria MDEV-22935 Erroneous Aria Index / Optimizer behaviour 2024-06-05 10:29:49 +03:00
mariabackup MDEV-36270 mariabackup.incremental_compressed fails in 10.11+ 2025-03-25 11:56:35 +01:00
mtr/t
mtr2
multi_source Merge from 10.4 to 10.5 2024-04-15 17:46:49 +02:00
optimizer_unfixed_bugs MDEV-29710: Disable some slow tests on Valgrind 2022-10-06 08:42:26 +03:00
parts Add --source include/long_test.inc to some tests 2025-03-15 11:15:54 +01:00
perfschema MDEV-33978 P_S.THREADS is not showing all server threads 2025-01-27 12:11:47 +02:00
perfschema_stress
period MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
plugins MDEV-35604: SIGSEGV in filter_query_type | log_statement_ex / auditing 2024-12-09 09:42:26 +01:00
roles MDEV-29968 Functions in default values in tables with some character sets break SHOW CREATE (and mysqldump) 2025-01-17 15:39:55 +04:00
rpl Add --source include/long_test.inc to some tests 2025-03-15 11:15:54 +01:00
s3 MDEV-29968 update test results 2025-01-18 08:10:49 +01:00
sql_sequence MDEV-36038 ALTER TABLE…SEQUENCE does not work correctly with InnoDB 2025-02-18 16:38:18 +01:00
storage_engine
stress MDEV-29710: Skip some more tests on Valgrind 2022-10-05 20:37:54 +03:00
sys_vars MDEV-29775 : Assertion `0' failed in void Protocol::end_statement() when adding data to the MyISAM table after setting wsrep_mode=replicate_myisam 2025-02-02 04:16:05 +01:00
unit Merge 10.2 into 10.3 2021-10-21 17:39:34 +03:00
vcol MDEV-26891 Segfault in Field::register_field_in_read_map upon INSERT 2025-01-14 18:56:13 +03:00
versioning MDEV-36115 InnoDB: assertion: node->pcur->rel_pos == BTR_PCUR_ON 2025-04-01 19:45:30 +02:00
wsrep galera: synchronization changes to stop random test failures 2025-04-02 04:29:34 +02:00