mariadb/mysql-test/suite
Aleksey Midenkov 787d088aa5 MDEV-37199 Review
Gap logs prevented race conditions when a concurrent connection
          ^
Typo, gap locks.

Integer lax with postfix operator-- allows redundant
long_unique_fields_differ(). I've replaced it with bool logic.

What happens if to replace innodb_row_ins_step_enter with
ha_write_row_end in the first example? Row-level locking works and
ha_index_next_same() of INSERT(5) long unique check is blocked until
INSERT(15) commits. That proves post-write long unique check is enough
for fixing race condition. I've added test case for that.

The below was done by Sachin but the cleanup commit b7905fa61b is
good occasion to fix these.

Redundant if (result == HA_ERR_FOUND_DUPP_KEY) check, same for other
error codes. The below patch brings up understanding at which calls
which error codes overridden to 0.

if (!result) is needless extra indentation level for substantional
amount of code.

For convenience these cleanups are separated on top of b7905fa61b
cleanup for easy merge:

934b9f2868 (mariadb/bb-10.6-midenok-review2, bb-10.6-midenok-review2) MDEV-37199 Cleanup

One more FIXME below for test file. Also innodb_lock_wait_timeout is
not needed for original test cases (nor for unpatched repro).
2025-07-16 00:09:19 +03:00
..
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 Merge branch '10.5' into 10.6 2025-01-29 11:17:38 +01: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-36848: identify tests with various MSAN suitability 2025-05-28 16:33:49 +10:00
funcs_2 Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
galera MDEV-36953 : mysql-wsrep#198 test hangs 2025-06-30 01:08:55 +02:00
galera_3nodes MDEV-36968 : galera_3nodes.inconsistency_shutdown test occasionally hangs 2025-06-30 01:06:31 +02:00
galera_3nodes_sr galera mtr tests: synchronization between branches and editions 2025-04-02 04:50:11 +02:00
galera_sr Merge branch '10.5' into '10.6' 2025-04-02 04:43:24 +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-37215 SELECT FOR UPDATE crash in SERIALIZABLE 2025-07-14 10:31:56 +03:00
innodb_fts MDEV-30363 InnoDB: Failing assertion: trx->error_state == DB_SUCCESS in que_run_threads 2025-06-16 11:48:06 +02:00
innodb_gis MDEV-36848: identify tests with various MSAN suitability 2025-05-28 16:33:49 +10:00
innodb_i_s
innodb_zip Merge branch '10.5' into 10.6 2025-01-29 11:17:38 +01:00
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 MDEV-36848: identify tests with various MSAN suitability 2025-05-28 16:33:49 +10:00
mariabackup Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
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 MDEV-36848: identify tests with various MSAN suitability 2025-05-28 16:33:49 +10:00
perfschema_stress
period MDEV-37199 Review 2025-07-16 00:09:19 +03:00
plugins Merge branch '10.5' into 10.6 2025-04-21 10:43:17 +02:00
roles Merge 10.5 into 10.6 2025-01-20 09:57:37 +02:00
rpl MDEV-36934: semi sync makes the master unresponsive when a replica is stopped 2025-07-08 16:41:12 +02:00
s3 MDEV-29157 SELECT using ror_merged scan fails with s3 tables 2025-06-02 14:02:53 +03:00
sql_sequence MDEV-36870 Spurious unrelated permission error when selecting from table with default that uses nextval(sequence) 2025-07-09 18:04:46 +02: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-34388 default stack size under MSAN needs increasing 2025-05-28 16:30:56 +10:00
sysschema Merge 10.5 into 10.6 2024-03-12 09:19:57 +02:00
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 MDEV-35523 : Server crashes with "WSREP: Unknown writeset version: -1" 2025-06-30 00:52:34 +02:00