lmdb_master_sysFunction mdb_env_get_maxkeysize
Source pub unsafe extern "C" fn mdb_env_get_maxkeysize(
env: *mut MDB_env,
) -> c_int
Expand description
Get the maximum size of keys and #MDB_DUPSORT data we can write.
Depends on the compile-time constant #MDB_MAXKEYSIZE. Default 511.
See MDB_val.
§Arguments
env
(direction in) - An environment handle returned by #mdb_env_create()
§Returns
The maximum size of a key we can write