Skip to content

Widen argument for setting lmdb map size.#37

Closed
clemahieu wants to merge 1 commit into
JuliaDatabases:mainfrom
clemahieu:set_mapsize_size_t
Closed

Widen argument for setting lmdb map size.#37
clemahieu wants to merge 1 commit into
JuliaDatabases:mainfrom
clemahieu:set_mapsize_size_t

Conversation

@clemahieu

Copy link
Copy Markdown

To match the C signature mdb_env_set_mapsize(MDB_env *env, size_t size), add setindex! overload that takes a Csize_t argument.

…e), add setindex! overload that takes a Csize_t argument.
maleadt added a commit to maleadt/LMDB.jl that referenced this pull request May 1, 2026
Fixes upstream issue JuliaDatabases#38, PR JuliaDatabases#37, PR JuliaDatabases#40: setindex! went through Cuint
which silently truncated map sizes that didn't fit in 32 bits.
@maleadt

maleadt commented May 22, 2026

Copy link
Copy Markdown
Collaborator

Superseded by 1de1895

@maleadt maleadt closed this May 22, 2026
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