Add support for listing Dbi flags by jheister · Pull Request #146 · lmdbjava/lmdbjava

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Sign up

Appearance settings

Conversation

@jheister

Copy link

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

Copy link

Member

bp-alex commented

Apr 15, 2020

Thanks for this PR.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@jheister @bp-alex