mariadb/mysql-test/suite
Brandon Nesterenko 29fb041007 MDEV-30430: Enabling system versioning on tables without primary key breaks replication
When replicating MDL events for a table that uses system versioning
without primary keys, ensure that for data sets with duplicate
records, the updates to these records with duplicates are enacted on
the correct row. That is, there was a bug (reported in MDEV-30430)
such that the function to find the row to update would stop after
finding the first matching record. However, in the absence of
primary keys, the version of the record is needed to compare the row
to ensure we are updating the correct one.

The fix, therefore, updates the record comparison functionality to
use system version columns when there are no primary keys on the
table.

Reviewed By:
============
Andrei Elkin <andrei.elkin@mariadb.com>
2023-04-24 15:09:40 -06:00
..
archive Merge 10.3 into 10.4 2022-09-13 16:36:38 +03:00
binlog MDEV-30698 Cover missing test cases for mariadb-binlog options --raw [and] --flashback 2023-03-08 12:26:00 +00:00
binlog_encryption MDEV-28798: Cosmetic Changes Only 2023-04-24 15:07:15 -06:00
compat Merge branch '10.3' into 10.4 2022-10-01 23:07:26 +02:00
csv
encryption MDEV-29692 Assertion `(writeptr + (i * size)) != local_frame' failed upon IMPORT TABLESPACE 2023-03-21 14:33:54 +02:00
engines MDEV-30421 more tests cleaned up 2023-03-23 21:07:32 +03:00
federated MDEV-29624 MDEV-29655 Fix ASAN errors on pushdown of derived table 2022-10-31 19:20:17 +04:00
funcs_1 Merge 10.3 into 10.4 2022-12-13 11:37:33 +02:00
funcs_2 MDEV-30233 DROP DATABASE test fails: Directory not empty 2022-12-15 11:14:23 +02:00
galera MDEV-30955 Explicit locks released too early in rollback path 2023-04-18 13:57:59 +02:00
galera_3nodes MDEV-25045 : Assertion `client_state_.mode() != wsrep::client_state::m_toi' failed in int wsrep::transaction::before_commit() 2023-03-31 12:48:13 +02:00
galera_3nodes_sr MDEV-27912 Fixing inconsistency w.r.t. expect files in tests. 2023-03-22 11:55:57 +11:00
galera_sr MDEV-30862 Assertion `mode_ == m_high_priority' failed 2023-04-18 10:02:22 +02:00
gcol MDEV-30597 Assertion `flag == 1' failed in row_build_index_entry_low 2023-02-14 14:28:27 +05:30
handler Merge branch '10.3' into 10.4 2022-05-08 23:03:08 +02:00
heap Merge 10.3 into 10.4 2022-09-13 16:36:38 +03:00
innodb MDEV-31025 Redundant table alter fails when fixed column 2023-04-19 17:11:14 +05:30
innodb_fts MDEV-27912 Fixing inconsistency w.r.t. expect files in tests. 2023-03-22 11:55:57 +11:00
innodb_gis Merge 10.3 into 10.4 2022-11-08 16:04:01 +02:00
innodb_zip Merge 10.3 into 10.4 2022-12-13 11:37:33 +02:00
jp MDEV-29446 Change SHOW CREATE TABLE to display default collation 2022-09-12 22:10:39 +04:00
json
large_tests MDEV-18187 Aria engine: Redo phase failed with "error 192 when executing record redo_index_new_page" upon startup on a restored datadir 2021-12-15 16:28:01 +02:00
maria MDEV-30971 Add a new system variable aria_data_home_dir 2023-04-04 16:05:55 +04:00
mariabackup MDEV-30968 mariadb-backup does not copy Aria logs if aria_log_dir_path is used 2023-04-21 19:08:35 +04:00
mtr/t
mtr2
multi_source Merge 10.3 into 10.4 2020-08-21 19:57:22 +03:00
optimizer_unfixed_bugs MDEV-23634: Select query hanged the server and leads to OOM ... 2021-04-08 17:25:02 +03:00
parts Merge 10.3 into 10.4 2023-01-03 16:10:02 +02:00
perfschema MDEV-29091: Correct event_name in PFS for wait caused by FOR UPDATE 2023-02-15 14:36:05 +00:00
perfschema_stress
period reformat the test 2022-11-27 05:11:39 +10:00
plugins Update feedback plugin URL to use feedback.mariadb.org subdomain 2023-03-20 18:15:17 +02:00
roles MDEV-30526 Assertion `rights == merged->cols' failed in update_role_columns 2023-02-21 23:22:56 +01:00
rpl MDEV-30421 more tests cleaned up 2023-03-23 21:07:32 +03:00
sql_sequence Merge 10.3 into 10.4 2022-10-25 10:04:37 +03:00
storage_engine Merge 10.2 into 10.3 2020-08-21 19:18:34 +03:00
stress MDEV-29710: Skip some more tests on Valgrind 2022-10-05 20:37:54 +03:00
sys_vars MDEV-30971 Add a new system variable aria_data_home_dir 2023-04-04 16:05:55 +04:00
unit Merge 10.2 into 10.3 2021-10-21 17:39:34 +03:00
vcol Merge 10.3 into 10.4 2023-01-03 16:10:02 +02:00
versioning MDEV-30430: Enabling system versioning on tables without primary key breaks replication 2023-04-24 15:09:40 -06:00
wsrep Merge branch '10.3' into 10.4 2022-05-08 23:03:08 +02:00