mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
row0sel.c:
Fix a wrong debug assert in the previous patch innobase/row/row0sel.c: Fix a wrong debug assert in the previous patch
This commit is contained in:
parent
cf4a47c00c
commit
80ea9db87b
1 changed files with 3 additions and 4 deletions
|
|
@ -3818,9 +3818,7 @@ no_gap_lock:
|
|||
|
||||
if (UNIV_UNLIKELY(rec_get_deleted_flag(rec, comp))) {
|
||||
|
||||
/* The record is delete-marked: we can skip it if this is
|
||||
not a consistent read which might see an earlier version
|
||||
of a non-clustered index record */
|
||||
/* The record is delete-marked: we can skip it */
|
||||
|
||||
if (srv_locks_unsafe_for_binlog
|
||||
&& prebuilt->select_lock_type != LOCK_NONE) {
|
||||
|
|
@ -3895,7 +3893,8 @@ requires_clust_rec:
|
|||
|
||||
result_rec = clust_rec;
|
||||
|
||||
ut_ad(rec_offs_validate(rec, clust_index, offsets));
|
||||
ut_ad(rec_offs_validate(result_rec, clust_index,
|
||||
offsets));
|
||||
} else {
|
||||
/* We used 'offsets' for the clust rec, recalculate
|
||||
them for 'rec' */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue