mariadb/storage/innobase
Vlad Lesin d7fc975cfe MDEV-33802 Weird read view after ROLLBACK of other transactions.
In the case if some unique key fields are nullable, there can be
several records with the same key fields in unique index with at least
one key field equal to NULL, as NULL != NULL.

When transaction is resumed after waiting on the record with at least one
key field equal to NULL, and stored in persistent cursor record is
deleted, persistent cursor can be restored to the record with all key
fields equal to the stored ones, but with at least one field equal to
NULL. And such record is wrongly treated as a record with the same unique
key as stored in persistent cursor record one, what is wrong as
NULL != NULL.

The fix is to check if at least one unique field is NULL in restored
persistent cursor position, and, if so, then don't treat the record as
one with the same unique key as in the stored record key.

dict_index_t::nulls_equal was removed, as it was initially developed for
never existed in MariaDB "intrinsic tables", and there is no code, which
would set it to "true".

Reviewed by Marko Mäkelä.
2024-04-12 18:13:51 +03:00
..
btr MDEV-33802 Weird read view after ROLLBACK of other transactions. 2024-04-12 18:13:51 +03:00
buf MDEV-31254 InnoDB: Trying to read doublewrite buffer page 2023-08-17 10:31:44 +03:00
data Merge 10.3 into 10.4 2022-10-25 10:04:37 +03:00
dict MDEV-33802 Weird read view after ROLLBACK of other transactions. 2024-04-12 18:13:51 +03:00
eval
fil MDEV-33770 Alter operation hangs when encryption thread works on the same tablespace 2024-03-26 19:19:53 +05:30
fsp MDEV-29050 mariabackup issues error messages during InnoDB tablespaces export on partial backup preparing 2023-03-27 20:15:10 +03:00
fts Fix heap-use-after-free in fts_free() 2024-03-21 16:01:29 +02:00
fut
gis Merge 10.3 into 10.4 2022-10-25 10:04:37 +03:00
ha
handler MDEV-31154 Fatal InnoDB error or assertion `!is_v' failure upon multi-update with indexed virtual column 2024-03-15 19:29:46 +05:30
ibuf MDEV-32132 DROP INDEX followed by CREATE INDEX may corrupt data 2023-09-08 11:28:21 +03:00
include MDEV-33802 Weird read view after ROLLBACK of other transactions. 2024-04-12 18:13:51 +03:00
lock MDEV-30658 lock_row_lock_current_waits counter in information_schema.innodb_metrics may become negative 2023-10-05 18:27:54 +03:00
log MDEV-18200 MariaBackup full backup failed with InnoDB: Failing assertion: success 2023-09-26 08:55:52 +10:00
mach
mem
mtr Merge 10.3 into 10.4 2021-09-22 18:26:54 +03:00
mysql-test/storage_engine
os MDEV-32268: GNU libc posix_fallocate() may be extremely slow 2024-01-18 11:00:27 +02:00
page MDEV-30882 Crash on ROLLBACK in a ROW_FORMAT=COMPRESSED table 2023-03-22 14:31:00 +02:00
pars MDEV-18867 fixup: Remove DBUG injection 2023-11-02 15:27:52 +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 MDEV-19044 Alter table corrupts while applying the modification log 2024-02-27 12:59:46 +05:30
row MDEV-33802 Weird read view after ROLLBACK of other transactions. 2024-04-12 18:13:51 +03:00
srv MDEV-30658 lock_row_lock_current_waits counter in information_schema.innodb_metrics may become negative 2023-10-05 18:27:54 +03:00
sync Merge 10.3 into 10.4 2022-04-21 11:33:59 +03:00
trx MDEV-33540 Avoid writes to TRX_SYS page during mariabackup operations 2024-03-08 16:02:38 +01:00
unittest MDEV-19522 fixup: Use correct printf format 2021-10-21 15:53:35 +03:00
ut Merge 10.3 into 10.4 2022-06-09 11:53:46 +03: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-31890: Remove COMPILE_FLAGS 2023-10-11 15:59:56 +03: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