Commit 274ff6f5 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

port lsn-filter test to windows [t:1864]

git-svn-id: file:///svn/toku/tokudb@14643 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7f42f7ce
......@@ -54,7 +54,7 @@ static void run_recover (void) {
// strip the end_checkpoint from the log. this will force recovery to run the over
// the entire log.
// TODO need an API to do this
struct stat s;
toku_struct_stat s;
r = toku_stat(ENVDIR "/log000000000000.tokulog", &s); CKERR(r);
r = truncate(ENVDIR "/log000000000000.tokulog", s.st_size - 0x25); CKERR(r);
......
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