Uses the public API instead of old internal stuff.

This commit is contained in:
Sears Russell 2006-09-27 20:32:51 +00:00
parent 23dd227654
commit c74afad7e3

View file

@ -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();
}