mdbx: minor refine mdbx_env_copy().

Change-Id: I007add822bc4d30b7a8a838981ada6d2812f669a
This commit is contained in:
Leo Yuriev
2018-06-29 23:54:59 +03:00
parent 40d5db2418
commit b9d3eac12e
2 changed files with 12 additions and 11 deletions

3
mdbx.h
View File

@@ -695,7 +695,8 @@ LIBMDBX_API int mdbx_env_open(MDBX_env *env, const char *path, unsigned flags,
* NOTE: Currently it fails if the environment has suffered a page leak.
*
* Returns A non-zero error value on failure and 0 on success. */
LIBMDBX_API int mdbx_env_copy(MDBX_env *env, const char *path, unsigned flags);
LIBMDBX_API int mdbx_env_copy(MDBX_env *env, const char *dest_path,
unsigned flags);
/* Copy an MDBX environment to the specified file descriptor,
* with options.