Add support for listing Dbi flags by jheister · Pull Request #146 · lmdbjava/lmdbjava
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 125
Merged
bp-alex merged 1 commit intolmdbjava:masterfrom
Apr 15, 2020Merged
Add support for listing Dbi flags#146
bp-alex merged 1 commit intolmdbjava:masterfrom
Add support for listing Dbi flags#146
bp-alex merged 1 commit intolmdbjava:masterfrom
Conversation
Copy link
Contributor
jheister
commented
Mar 10, 2020
jheister
commented
I've added support for the mdb_dbi_flags call. We are using this in our project to inspect which flags a Dbi was created with. In particular we have a piece of code to copy an entire DB re-writing the keys in an ordered fashion to reduce wasted space (within the pages). For this we need to know what flags the new DB needs creating with and if we need to set MDB_APPEND or MDB_APPENDDUP when inserting into our copied DB.
bp-alex
force-pushed
the
master
branch
11 times, most recently
from
8809f8e to
fed0c5d
Compare
bp-alex
merged commit
f4a3e6a
into
lmdbjava:master
Copy link
Member
bp-alex
commented
Apr 15, 2020
bp-alex commented
Apr 15, 2020Thanks for this PR.
bp-alex added a commit that referenced this pull request
Apr 15, 2020bp-alex added a commit that referenced this pull request
Apr 15, 2020This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment