1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

different fix for MDEV-26778

This commit is contained in:
Sergei Golubchik
2022-10-10 17:35:23 +02:00
parent d94ed0bb2a
commit a858ff1731
4 changed files with 1 additions and 6 deletions

View File

@ -51,7 +51,7 @@
compare_record(TABLE*).
*/
bool records_are_comparable(const TABLE *table) {
return !table->versioned(VERS_TRX_ID) &&
return !table->versioned() &&
(((table->file->ha_table_flags() & HA_PARTIAL_COLUMN_READ) == 0) ||
bitmap_is_subset(table->write_set, table->read_set));
}