mirror of
https://github.com/isar/libmdbx.git
synced 2025-03-04 17:18:13 +08:00
mdbx: little more likely/unlikely.
This commit is contained in:
parent
0875d16656
commit
841fc15dd3
@ -15107,8 +15107,8 @@ new_sub:;
|
|||||||
* make sure the cursor is marked valid. */
|
* make sure the cursor is marked valid. */
|
||||||
mc->mc_flags |= C_INITIALIZED;
|
mc->mc_flags |= C_INITIALIZED;
|
||||||
}
|
}
|
||||||
if (flags & MDBX_MULTIPLE) {
|
if (unlikely(flags & MDBX_MULTIPLE)) {
|
||||||
if (!rc) {
|
if (likely(rc == MDBX_SUCCESS)) {
|
||||||
continue_multiple:
|
continue_multiple:
|
||||||
mcount++;
|
mcount++;
|
||||||
/* let caller know how many succeeded, if any */
|
/* let caller know how many succeeded, if any */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user