mariadb/storage/innobase
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
..
btr MDEV-34823 Invalid arguments in ib_push_warning() 2024-09-06 14:29:09 +03:00
buf Fix clang++-19 -Wunused-but-set-variable 2024-08-15 10:13:49 +03:00
data Merge 10.4 into 10.5 2022-10-25 11:26:37 +03:00
dict MDEV-35445 Disable foreign key column nullability check for strict sql mode 2025-01-21 18:52:33 +05:30
eval
fil MDEV-33978 P_S.THREADS is not showing all server threads 2025-01-27 12:11:47 +02:00
fsp MDEV-33635 innodb.innodb-64k-crash - Found warnings/errors in server log file 2024-03-14 08:34:56 +05:30
fts MDEV-34057 Inconsistent FTS state in concurrent scenarios 2024-06-06 19:09:13 +05:30
fut MDEV-22110 preparation: Remove mtr_memo_contains macros 2020-06-10 07:50:09 +03:00
gis MDEV-35420 Server aborts while deleting the record in spatial index 2025-03-21 15:26:21 +01:00
ha MDEV-22871: Remove pointer indirection for InnoDB hash_table_t 2020-06-18 14:16:01 +03:00
handler MDEV-36038 ALTER TABLE…SEQUENCE does not work correctly with InnoDB 2025-02-18 16:38:18 +01:00
ibuf MDEV-32489 Change buffer index fails to delete the records 2024-04-18 08:30:21 +05:30
include MDEV-33978 P_S.THREADS is not showing all server threads 2025-01-27 12:11:47 +02:00
lock MDEV-24923 fixup: Correct a function comment 2024-08-27 18:06:24 +03:00
log MDEV-34802 Recovery fails to note some log corruption 2024-08-28 15:44:42 +03:00
mem Merge 10.4 into 10.5 2020-07-02 09:41:44 +03:00
mtr MDEV-34175 mtr_t::log_close() warning should change the shutdown condition 2024-05-20 18:18:41 +05:30
mysql-test/storage_engine
os MDEV-35429 my_snprintf fixes for 10.5+ 2025-01-14 17:57:51 +11:00
page Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
pars MDEV-35443: opt_search_plan_for_table() may degrade to full table scan 2024-12-19 14:05:16 +02:00
que Fix g++-14 -Wmaybe-uninitialized 2024-03-19 08:08:18 +02:00
read Merge branch '10.3' into 10.4 2021-07-31 22:59:58 +02:00
rem Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
row MDEV-29182 Assertion fld->field_no < table->n_v_def failed on cascade 2025-01-22 17:22:07 +02:00
srv MDEV-34221 Errors about checksum mismatch on crash recovery are confusing 2024-05-24 12:57:42 +05:30
sync MDEV-33431 Latching order violation reported fil_system.sys_space.latch and ibuf_pessimistic_insert_mutex 2024-04-17 15:16:50 +05:30
trx MDEV-36613 Incorrect undo logging for indexes on virtual columns 2025-04-16 15:55:45 +03:00
unittest MDEV-33383: Corrupted red-black tree due to incorrect comparison 2024-02-12 17:01:45 +02:00
ut Cleanup: Say "mariadbd" instead of "mysqld" in InnoDB messages 2022-11-22 15:32:47 +02:00
.clang-format-old switch off storage/innobase/.clang-format: InnoDB uses a common formatting style for all new code 2021-03-17 11:01:15 +03:00
bzip2.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
CMakeLists.txt MDEV-33876 CMake, zlib - use names compatible with official FindZLIB.cmake 2024-05-03 21:48:47 +02:00
compile-innodb
COPYING.Google
COPYING.Percona
lz4.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzma.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzo.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
snappy.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00