about summary refs log tree commit diff
path: root/src/db.cc
AgeCommit message (Collapse)AuthorFilesLines
2003-10-08 * Get rid of identifiers since they are redundant now. This greatlyEelco Dolstra1-0/+2
simplifies stuff. * The format of Nix expressions and the database schema changed because of this, so it's best to delete old Nix installations.
2003-07-31 * Enclose most operations that update the database in transactions.Eelco Dolstra1-55/+76
* 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 Dolstra1-2/+6
* Checkpoint on exit.
2003-07-31 * Started using Berkeley DB environments. This is necessary forEelco Dolstra1-40/+120
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 Dolstra1-1/+1
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 Dolstra1-1/+1
(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 Dolstra1-6/+4
database and store.
2003-07-16 * Substitute fixes.Eelco Dolstra1-1/+4
2003-07-07 * Make dbRefs a mapping from Hash to [Path].Eelco Dolstra1-0/+57
2003-05-30 * Open the database read-only when enumerating tables.Eelco Dolstra1-1/+1
2003-05-26 * FreeBSD / ISO C++ compatibility fixes.Eelco Dolstra1-0/+2
2003-05-26 * Some refactoring.Eelco Dolstra1-0/+116