From 1a54de02b585e58511a3db4171ccabb3a3a0cce0 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Tue, 7 Jul 2009 09:27:56 +0300 Subject: db: open flags revisited more fine grained control what to load, and rename some of the flags to be shorter. --- src/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cache.c') diff --git a/src/cache.c b/src/cache.c index 152008b..e368cb3 100644 --- a/src/cache.c +++ b/src/cache.c @@ -117,7 +117,7 @@ static int cache_main(void *ctx, int argc, char **argv) return -100; r = apk_db_open(&db, apk_root, - (actions & CACHE_DOWNLOAD) ? 0 : APK_OPENF_EMPTY_STATE); + (actions & CACHE_DOWNLOAD) ? 0 : APK_OPENF_NO_STATE); if (r != 0) return r; -- cgit v1.2.3