Commit d6b9d8dc authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

refs #5686 fix a crash during assert

git-svn-id: file:///svn/toku/tokudb@49989 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7dc6680b
......@@ -2025,7 +2025,7 @@ static int
toku_maybe_get_engine_status_text (char * buff, int buffsize) {
DB_ENV * env = most_recent_env;
int r;
if (engine_status_enable) {
if (engine_status_enable && env != NULL) {
r = env_get_engine_status_text(env, buff, buffsize);
}
else {
......
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