mdbx: change mdbx_dbi_close() API.

This commit is contained in:
Leo Yuriev
2017-05-10 20:27:30 +03:00
parent e8a430999c
commit 533e01cc93
2 changed files with 19 additions and 11 deletions

2
mdbx.h
View File

@@ -1124,7 +1124,7 @@ LIBMDBX_API int mdbx_dbi_flags(MDB_txn *txn, MDB_dbi dbi, unsigned *flags);
* [in] env An environment handle returned by mdbx_env_create()
* [in] dbi A database handle returned by mdbx_dbi_open()
*/
LIBMDBX_API void mdbx_dbi_close(MDB_env *env, MDB_dbi dbi);
LIBMDBX_API int mdbx_dbi_close(MDB_env *env, MDB_dbi dbi);
/* Empty or delete+close a database.
*