mdbx: little more likely/unlikely.

This commit is contained in:
Leonid Yuriev 2021-05-12 19:23:52 +03:00
parent 0875d16656
commit 841fc15dd3

View File

@ -15107,8 +15107,8 @@ new_sub:;
* make sure the cursor is marked valid. */
mc->mc_flags |= C_INITIALIZED;
}
if (flags & MDBX_MULTIPLE) {
if (!rc) {
if (unlikely(flags & MDBX_MULTIPLE)) {
if (likely(rc == MDBX_SUCCESS)) {
continue_multiple:
mcount++;
/* let caller know how many succeeded, if any */