summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/log.c b/log.c
index db36ba9..e9a16c5 100644
--- a/log.c
+++ b/log.c
@@ -124,9 +124,9 @@ static void
recover_from_log(void)
{
read_head();
- install_trans(); // Install all transactions till head
+ install_trans(); // if committed, copy from log to disk
log.lh.n = 0;
- write_head(); // Reclaim log
+ write_head(); // clear the log
}
void