Commit ee27f373 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #4871 fix lc_create so it doesn't issue useless valgrind warnings

git-svn-id: file:///svn/toku/tokudb@45207 c7de825b-a66e-492c-adef-691d508d4ae1
parent c7de0452
...@@ -140,6 +140,7 @@ static int lc_create(TOKULOGCURSOR *lc, const char *log_dir) { ...@@ -140,6 +140,7 @@ static int lc_create(TOKULOGCURSOR *lc, const char *log_dir) {
} }
cursor->logfiles = NULL; cursor->logfiles = NULL;
cursor->n_logfiles = 0; cursor->n_logfiles = 0;
cursor->cur_fp = NULL;
cursor->cur_lsn.lsn=0; cursor->cur_lsn.lsn=0;
cursor->last_direction=LC_FIRST; cursor->last_direction=LC_FIRST;
......
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