aboutsummaryrefslogtreecommitdiff
path: root/src/normalise.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/normalise.cc')
-rw-r--r--src/normalise.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/normalise.cc b/src/normalise.cc
index 5a8cb9a0d..e8fc6fc55 100644
--- a/src/normalise.cc
+++ b/src/normalise.cc
@@ -9,7 +9,9 @@
void registerSuccessor(const FSId & id1, const FSId & id2)
{
- nixDB.setString(noTxn, dbSuccessors, id1, id2);
+ Transaction txn(nixDB);
+ nixDB.setString(txn, dbSuccessors, id1, id2);
+ txn.commit();
}