summary refs log tree commit diff
path: root/src/db.cc
AgeCommit message (Collapse)Author
2003-07-31* Enclose most operations that update the database in transactions.Eelco Dolstra
* Open all database tables (Db objects) at initialisation time, not every time they are used. This is necessary because tables have to outlive all transactions that refer to them.
2003-07-31* Use a more reasonable log file size (256 KB instead of 10 MB).Eelco Dolstra
* Checkpoint on exit.
2003-07-31* Started using Berkeley DB environments. This is necessary forEelco Dolstra
transaction support (but we don't actually use transactions yet).
2003-07-24* Do sync the database, since not doing so caused database changes notEelco Dolstra
to reach the disk at all. Looks like a bug.
2003-07-24* Don't sync the database on close. This was killing performance.Eelco Dolstra
(Of course, the real problem is that we open the database for *every* operation; we should only open it once. And we should use transactions.)
2003-07-17* For debugging: `nix --verify' to check the consistency of theEelco Dolstra
database and store.
2003-07-16* Substitute fixes.Eelco Dolstra
2003-07-07* Make dbRefs a mapping from Hash to [Path].Eelco Dolstra
2003-05-30* Open the database read-only when enumerating tables.Eelco Dolstra
2003-05-26* FreeBSD / ISO C++ compatibility fixes.Eelco Dolstra
2003-05-26* Some refactoring.Eelco Dolstra