mdbx: исправление условия внутри `assert()` в пути обработки `MDBX_GET/NEXT/PREV_MULTIPLE`.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2024-09-16 22:51:19 +03:00
parent 202cdbc4be
commit 29d0a96818
1 changed files with 1 additions and 1 deletions

View File

@ -2191,7 +2191,7 @@ __hot int cursor_ops(MDBX_cursor *mc, MDBX_val *key, MDBX_val *data,
return rc; return rc;
else { else {
fetch_multiple: fetch_multiple:
cASSERT(mc, is_filled(mc) && !inner_filled(mc)); cASSERT(mc, is_filled(mc) && inner_filled(mc));
MDBX_cursor *mx = &mc->subcur->cursor; MDBX_cursor *mx = &mc->subcur->cursor;
data->iov_len = page_numkeys(mx->pg[mx->top]) * mx->tree->dupfix_size; data->iov_len = page_numkeys(mx->pg[mx->top]) * mx->tree->dupfix_size;
data->iov_base = page_data(mx->pg[mx->top]); data->iov_base = page_data(mx->pg[mx->top]);