[prev in list] [next in list] [prev in thread] [next in thread]
List: openldap-technical
Subject: LMDB cursor position
From: M Gurschi <max.gurschi () gmail ! com>
Date: 2024-02-01 11:44:52
Message-ID: D91BFE7C-C279-4378-AF91-F848C3D1E907 () gmail ! com
[Download RAW message or body]
Hello team,
Can you please let me know, when using *mdb_cursor_get* with *MDB_SET* operation, in \
case the key is not present in the db, where is the cursor left pointing?
My scenario is that i want to retrieve two adjacent keys.
1. first *mdb_cursor_get* with *MDB_SET*
2. after that, *mdb_cursor_get* with *MDB_NEXT*
I'm wondering what can i expect the cursor to point at in case the key is not found \
in step 1.
Kind Regards,
Maxim Gurschi=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic