mdbx: size_t for sync_threshold and mapsize.

This commit is contained in:
Leo Yuriev
2017-06-05 17:26:08 +03:00
parent 802c10f13f
commit 61d7ea283f
2 changed files with 8 additions and 8 deletions

View File

@@ -666,9 +666,9 @@ struct MDBX_env {
#if MDBX_DEBUG
MDBX_assert_func *me_assert_func; /* Callback for assertion failures */
#endif
uint64_t me_sync_pending; /* Total dirty/non-sync'ed bytes
* since the last mdbx_env_sync() */
uint64_t me_sync_threshold; /* Treshold of above to force synchronous flush */
size_t me_sync_pending; /* Total dirty/non-sync'ed bytes
* since the last mdbx_env_sync() */
size_t me_sync_threshold; /* Treshold of above to force synchronous flush */
MDBX_oom_func *me_oom_func; /* Callback for kicking laggard readers */
#ifdef USE_VALGRIND
int me_valgrind_handle;