diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-02-05 19:45:57 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-02-05 19:45:57 +0200 |
| commit | c041af95a2f382b167c59d739323bd84cbdda235 (patch) | |
| tree | b75ae5c1f4363352e37bd03d57f7b5b604b9a9dd /tests/t03-objwrite.c | |
| parent | 95901128b88ab1a784e39c5a87328d602af23074 (diff) | |
| download | libgit2-c041af95a2f382b167c59d739323bd84cbdda235.tar.gz | |
Add support for SQLite backends
Configure again the build system to look for SQLite3. If the library is
found, the SQLite backend will be automatically compiled.
Enjoy *very* fast reads and writes.
MASTER PROTIP: Initialize the backend with ":memory" as the path to the
SQLite database for fully-hosted in-memory repositories. Rejoice.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'tests/t03-objwrite.c')
| -rw-r--r-- | tests/t03-objwrite.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/t03-objwrite.c b/tests/t03-objwrite.c index 0d58349c0..0b9232534 100644 --- a/tests/t03-objwrite.c +++ b/tests/t03-objwrite.c @@ -23,10 +23,11 @@ * Boston, MA 02110-1301, USA. */ #include "test_lib.h" -#include "t03-data.h" - #include "fileops.h" +static char *odb_dir = "test-objects"; +#include "t03-data.h" + static int make_odb_dir(void) { if (gitfo_mkdir(odb_dir, 0755) < 0) { |
