mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 14:32:34 +01:00
branches/zip: row_sel_get_clust_rec_for_mysql(): Similar to the function
row_sel_get_clust_rec(), return if a previous version of the clustered index record does not exist in the read view. This bug was made and found by Heikki. It was harmless as long as the clustered index record contained a long enough local prefix of externally stored columns, to allow secondary index records to be built without fetching BLOBs. InnoDB transactions should never look at a clustered index record whose transaction identifier (DB_TRX_ID) is not visible in the transaction's read view.
This commit is contained in:
parent
0d59bf8ee6
commit
793b1fe3fb
1 changed files with 1 additions and 1 deletions
|
@ -2994,7 +2994,7 @@ row_sel_get_clust_rec_for_mysql(
|
|||
clust_rec, offsets, offset_heap, &old_vers,
|
||||
mtr);
|
||||
|
||||
if (err != DB_SUCCESS) {
|
||||
if (err != DB_SUCCESS || old_vers == NULL) {
|
||||
|
||||
goto err_exit;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue