Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add support for listing Dbi flags#146

Merged
bp-alex merged 1 commit into
lmdbjava:masterlmdbjava/lmdbjava:masterfrom
jheister:support_mdb_dbi_flagsjheister/lmdbjava:support_mdb_dbi_flagsCopy head branch name to clipboard
Apr 15, 2020
Merged

Add support for listing Dbi flags#146
bp-alex merged 1 commit into
lmdbjava:masterlmdbjava/lmdbjava:masterfrom
jheister:support_mdb_dbi_flagsjheister/lmdbjava:support_mdb_dbi_flagsCopy head branch name to clipboard

Conversation

@jheister

Copy link
Copy Markdown
Contributor

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 bp-alex force-pushed the master branch 11 times, most recently from 8809f8e to fed0c5d Compare April 15, 2020 05:03
@bp-alex bp-alex merged commit f4a3e6a into lmdbjava:master Apr 15, 2020
@bp-alex

bp-alex commented Apr 15, 2020

Copy link
Copy Markdown
Member

Thanks for this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.