RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 30-Sep-2009 08:23:26 Branch: HEAD Handle: 2009093006232500 Modified files: rpm/rpmdb dbconfig.c Log: - dbi: switch a couple more tags to 4b join keys. - dbi: permit setting secondary associations. Summary: Revision Changes Path 1.65 +9 -1 rpm/rpmdb/dbconfig.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmdb/dbconfig.c ============================================================================ $ cvs diff -u -r1.64 -r1.65 dbconfig.c --- rpm/rpmdb/dbconfig.c 29 Sep 2009 14:43:59 -0000 1.64 +++ rpm/rpmdb/dbconfig.c 30 Sep 2009 06:23:25 -0000 1.65 @@ -306,6 +306,10 @@ #endif { "noload", 0,POPT_ARG_NONE, &db3dbi.dbi_noload, 0, NULL, NULL }, + { "index", 0,POPT_ARG_NONE, &db3dbi.dbi_index, 0, + NULL, NULL }, + { "foreign", 0,POPT_ARG_STRING, &db3dbi.dbi_foreign, 0, + NULL, NULL }, { "temporary", 0,POPT_ARG_NONE, &db3dbi.dbi_temporary, 0, NULL, NULL }, #if defined(WITH_DB) @@ -636,9 +640,10 @@ */ /*...@-sizeoftype@*/ switch (tag) { - case RPMTAG_GROUP: case RPMTAG_CONFLICTVERSION: case RPMTAG_CONFLICTFLAGS: + case RPMTAG_GROUP: + case RPMTAG_NVRA: case RPMTAG_OBSOLETENAME: case RPMTAG_OBSOLETEVERSION: case RPMTAG_OBSOLETEFLAGS: @@ -646,6 +651,9 @@ case RPMTAG_PROVIDEFLAGS: case RPMTAG_REQUIREVERSION: case RPMTAG_REQUIREFLAGS: + case RPMTAG_SHA1HEADER: + case RPMTAG_SIGMD5: + case RPMTAG_SOURCEPKGID: case RPMDBI_PACKAGES: case RPMDBI_DEPENDS: dbi->dbi_jlen = 1 * sizeof(rpmuint32_t); @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org