mdbx: исправление условия внутри `assert()` в пути обработки `MDBX_GET/NEXT/PREV_MULTIPLE`.
This commit is contained in:
parent
202cdbc4be
commit
29d0a96818
|
@ -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]);
|
||||||
|
|
Loading…
Reference in New Issue