mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-15 00:33:43 -05:00
ITS#7955, #7671 fix MDB_PREV_DUP
This commit is contained in:
parent
61dd017808
commit
bfe297da47
1 changed files with 4 additions and 4 deletions
|
|
@ -5457,11 +5457,11 @@ mdb_cursor_prev(MDB_cursor *mc, MDB_val *key, MDB_val *data, MDB_cursor_op op)
|
||||||
}
|
}
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
mc->mc_xcursor->mx_cursor.mc_flags &= ~(C_INITIALIZED|C_EOF);
|
|
||||||
if (op == MDB_PREV_DUP)
|
|
||||||
return MDB_NOTFOUND;
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
mc->mc_xcursor->mx_cursor.mc_flags &= ~(C_INITIALIZED|C_EOF);
|
||||||
|
if (op == MDB_PREV_DUP)
|
||||||
|
return MDB_NOTFOUND;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue