mdbx: add mdbx_get_maxkeysize().

This commit is contained in:
Leo Yuriev
2017-03-31 17:51:42 +03:00
parent 5c5ef256b3
commit a2593625cc
2 changed files with 34 additions and 11 deletions

1
mdbx.h
View File

@@ -925,6 +925,7 @@ LIBMDBX_API int mdbx_env_set_maxdbs(MDB_env *env, MDB_dbi dbs);
* Returns The maximum size of a key we can write
*/
LIBMDBX_API int mdbx_env_get_maxkeysize(MDB_env *env);
LIBMDBX_API int mdbx_get_maxkeysize(size_t pagesize);
/* Set application information associated with the MDB_env.
*