summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-06-11 16:14:12 +0300
committerTimo Teräs <timo.teras@iki.fi>2015-06-11 16:21:53 +0300
commit4fab9290b6a51c562cce3df1a9d99a659ed17974 (patch)
tree970f5bfc80b3dbcd9a14d36249b4e12fb8f01191 /src/apk_database.h
parente01b29e2fa2135b4a9ba754956b7ad395534dad1 (diff)
downloadapk-tools-4fab9290b6a51c562cce3df1a9d99a659ed17974.tar.gz
apk-tools-4fab9290b6a51c562cce3df1a9d99a659ed17974.tar.bz2
apk-tools-4fab9290b6a51c562cce3df1a9d99a659ed17974.tar.xz
apk-tools-4fab9290b6a51c562cce3df1a9d99a659ed17974.zip
speed improvements for database opening
resolve reverse dependencies after all packages have been loaded, and avoid traversing the reverse name lists. now that we use automatic virtual packages (soname, pkg-config, etc.) the reverse dependency chains can become considerable longer than what it was when the rdependency construction code was originally written.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 315a429..158c7bb 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -152,6 +152,7 @@ struct apk_database {
unsigned int pending_triggers;
int performing_self_update : 1;
int permanent : 1;
+ int open_complete : 1;
int compat_newfeatures : 1;
int compat_notinstallable : 1;