about summary refs log tree commit diff
path: root/src/libstore/db.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-02-09T14·37+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-02-09T14·37+0000
commit3a99616968a7ffcc8f51bda7a781d3233aa9b428 (patch)
treee3c0fbc0856d868771b58b333006df670c7e9434 /src/libstore/db.hh
parent98df735b5149bc1e39ce6b0bae13fbf7cebcdc05 (diff)
* Commit more often to prevent out-of-memory errors.
Diffstat (limited to 'src/libstore/db.hh')
-rw-r--r--src/libstore/db.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/db.hh b/src/libstore/db.hh
index d566fdad1e1c..8418364929db 100644
--- a/src/libstore/db.hh
+++ b/src/libstore/db.hh
@@ -27,6 +27,7 @@ public:
     Transaction(Database & _db);
     ~Transaction();
 
+    void begin(Database & db);
     void abort();
     void commit();