Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-24 | * A function to query just the database id of a valid path. | Eelco Dolstra | 2 | -16/+22 | |
2010-02-24 | (no commit message) | Eelco Dolstra | 1 | -1/+1 | |
2010-02-24 | * Use `truncate' journal mode, which should be a bit faster. | Eelco Dolstra | 1 | -0/+4 | |
2010-02-24 | * `helpText' is now zero-terminated. | Eelco Dolstra | 5 | -5/+5 | |
2010-02-24 | (no commit message) | Eelco Dolstra | 1 | -3/+3 | |
2010-02-24 | * Disable fsync() in SQLite if the fsync-metadata option is set to | Eelco Dolstra | 4 | -9/+9 | |
false. * Change the default for `fsync-metadata' to true. * Disable `fsync-metadata' in `make check'. | |||||
2010-02-24 | * Do registerValidPaths() in one transaction, which is much faster. | Eelco Dolstra | 1 | -29/+9 | |
E.g. it cuts the runtime of the referrers test from 50s to 23s. | |||||
2010-02-24 | * ADDITIONAL_NETWORK_LIBS -> LIBS. | Eelco Dolstra | 7 | -9/+7 | |
2010-02-24 | * Add ${sqlite_lib} everywhere. Just adding it in `libstore' doesn't | Eelco Dolstra | 6 | -6/+6 | |
work on x86_64 when sqlite is compiled statically. | |||||
2010-02-24 | * Remove the fdatasync check since it's no longer needed. | Eelco Dolstra | 3 | -8/+2 | |
2010-02-24 | * Set the path to sqlite3 properly. | Eelco Dolstra | 2 | -0/+2 | |
2010-02-24 | * Don't fork so much. | Eelco Dolstra | 1 | -5/+2 | |
2010-02-24 | * Use normal (rather than full) synchronous mode, which I gather from | Eelco Dolstra | 1 | -0/+4 | |
the description at http://www.sqlite.org/atomiccommit.html should be safe enough. | |||||
2010-02-24 | * Include the sqlite tarball in the Nix tarball. | Eelco Dolstra | 2 | -15/+42 | |
2010-02-23 | (no commit message) | Eelco Dolstra | 1 | -25/+2 | |
2010-02-23 | (no commit message) | Eelco Dolstra | 1 | -1/+1 | |
2010-02-23 | * configure: flag --with-sqlite. | Eelco Dolstra | 2 | -5/+20 | |
2010-02-23 | * Use ATerm 2.5. | Eelco Dolstra | 4 | -12/+147 | |
2010-02-23 | * Run ATerm's `make check'. | Eelco Dolstra | 1 | -0/+1 | |
2010-02-22 | (no commit message) | Eelco Dolstra | 1 | -4/+0 | |
2010-02-22 | * The database needs a trigger to get rid of self-references to | Eelco Dolstra | 2 | -2/+20 | |
prevent a foreign key constraint violation on the Refs table when deleting a path. | |||||
2010-02-22 | * Get derivation outputs from the database instead of the .drv file, | Eelco Dolstra | 7 | -8/+46 | |
which requires more I/O. | |||||
2010-02-22 | * Revert r19650 (implement gc-keep-outputs by looking for derivations | Eelco Dolstra | 5 | -74/+34 | |
with the same name as the output) and instead use the DerivationOutputs table in the database, which is the correct way to to do things. | |||||
2010-02-22 | * Put the derivation outputs in the database. This is useful for the | Eelco Dolstra | 3 | -2/+35 | |
garbage collector. | |||||
2010-02-19 | * Foreign key support in SQLite is not a persistent setting, so enable | Eelco Dolstra | 4 | -29/+25 | |
it at startup. * Implement negative caching. Now `make check' passes. | |||||
2010-02-19 | * Implement more stuff. | Eelco Dolstra | 2 | -52/+50 | |
2010-02-19 | * Implement registerValidPath(). | Eelco Dolstra | 3 | -112/+96 | |
2010-02-18 | * Implemented queryValidPaths() and verifyStore(). | Eelco Dolstra | 2 | -119/+35 | |
2010-02-18 | * Implemented queryReferrers(). | Eelco Dolstra | 2 | -32/+19 | |
2010-02-18 | * Implement queryPathInfo(). | Eelco Dolstra | 2 | -51/+49 | |
2010-02-18 | * Implement isValidPath(). | Eelco Dolstra | 2 | -159/+100 | |
2010-02-18 | * Automatically abort transactions if they go out of scope without | Eelco Dolstra | 1 | -6/+37 | |
committing. | |||||
2010-02-18 | * Some wrapper objects to ensure that SQLite objects are properly | Eelco Dolstra | 2 | -49/+109 | |
destroyed. | |||||
2010-02-18 | * Add the deriver to the ValidPaths table. In principle we could now | Eelco Dolstra | 2 | -13/+21 | |
store all the derivers of a path efficiently. But that opens a big can of worms with respect to garbage collector semantics. | |||||