Commit f25145d0 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

Add comment about checkpoint callbacks, used for testing purposes only.


git-svn-id: file:///svn/toku/tokudb@16992 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1757dfda
......@@ -1025,6 +1025,8 @@ static int toku_env_set_verbose(DB_ENV * env, u_int32_t which, int onoff) {
}
// For test purposes only.
// These callbacks are never used in production code, only as a way to test the system
// (for example, by causing crashes at predictable times).
static void (*checkpoint_callback_f)(void*) = NULL;
static void * checkpoint_callback_extra = NULL;
static void (*checkpoint_callback2_f)(void*) = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment