mirror of
https://github.com/isar/libmdbx.git
synced 2025-07-18 02:54:43 +08:00
mdbx: удаление лишней/отладочной assert-проверки внутри cursor_put()
.
This commit is contained in:
parent
2a41db6b67
commit
90a4e1847d
@ -811,7 +811,6 @@ __hot int cursor_put(MDBX_cursor *mc, const MDBX_val *key, MDBX_val *data, unsig
|
||||
}
|
||||
if (unlikely(mc->flags & z_inner)) {
|
||||
/* nested subtree of DUPSORT-database with the same key, nothing to update */
|
||||
cASSERT(mc, !"Should not happen since");
|
||||
return (flags & MDBX_NODUPDATA) ? MDBX_KEYEXIST : MDBX_SUCCESS;
|
||||
}
|
||||
if (inner_pointed(mc)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user