|
|
@ -574,6 +574,9 @@ int mdb_env_get_path(MDB_env *env, const char **path); |
|
|
|
* of the database. The value should be chosen as large as possible, |
|
|
|
* of the database. The value should be chosen as large as possible, |
|
|
|
* to accommodate future growth of the database. |
|
|
|
* to accommodate future growth of the database. |
|
|
|
* This function may only be called after #mdb_env_create() and before #mdb_env_open(). |
|
|
|
* This function may only be called after #mdb_env_create() and before #mdb_env_open(). |
|
|
|
|
|
|
|
* The size may be changed by closing and reopening the environment. |
|
|
|
|
|
|
|
* Any attempt to set a size smaller than the space already consumed |
|
|
|
|
|
|
|
* by the environment will be silently changed to the current size of the used space. |
|
|
|
* @param[in] env An environment handle returned by #mdb_env_create() |
|
|
|
* @param[in] env An environment handle returned by #mdb_env_create() |
|
|
|
* @param[in] size The size in bytes |
|
|
|
* @param[in] size The size in bytes |
|
|
|
* @return A non-zero error value on failure and 0 on success. Some possible |
|
|
|
* @return A non-zero error value on failure and 0 on success. Some possible |
|
|
|