1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-20 10:24:14 +03:00
Files
mariadb/mysql-test/suite/versioning/r
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
..
2023-01-03 16:10:02 +02:00
2022-09-13 16:36:38 +03:00
2020-10-22 13:27:18 +03:00
2023-01-03 16:10:02 +02:00
2023-01-13 09:28:25 +02:00
2019-03-27 13:27:04 +02:00
2022-09-13 16:36:38 +03:00
2022-10-25 10:04:37 +03:00
2020-05-30 11:04:27 +03:00
2020-10-22 13:27:18 +03:00
2021-07-31 22:59:58 +02:00
2022-09-13 16:36:38 +03:00
2019-10-10 00:20:34 +03:00
2022-04-06 08:59:09 +03:00