mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
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
This commit is contained in:
parent
83b52d4983
commit
c380714035
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ static int lc_create(TOKULOGCURSOR *lc, const char *log_dir) {
|
|||
}
|
||||
cursor->logfiles = NULL;
|
||||
cursor->n_logfiles = 0;
|
||||
cursor->cur_fp = NULL;
|
||||
cursor->cur_lsn.lsn=0;
|
||||
cursor->last_direction=LC_FIRST;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue