Uses the public API instead of old internal stuff.
This commit is contained in:
parent
23dd227654
commit
c74afad7e3
1 changed files with 7 additions and 5 deletions
|
@ -1,13 +1,15 @@
|
|||
#include <lladd/transactional.h>
|
||||
#include "../src/lladd/logger/logWriter.h"
|
||||
#include <lladd/logger/logger2.h>
|
||||
#include <lladd/truncation.h>
|
||||
int main(void) {
|
||||
Tinit();
|
||||
syncLog();
|
||||
lsn_t trunc_to = flushedLSN();
|
||||
// syncLog();
|
||||
// lsn_t trunc_to = LogFlushedLSN();
|
||||
truncateNow();
|
||||
Tdeinit();
|
||||
|
||||
openLogWriter();
|
||||
truncateLog(trunc_to);
|
||||
// openLogWriter();
|
||||
// truncateLog(trunc_to);
|
||||
|
||||
return compensation_error();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue