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: 29-Dec-2009 23:39:00 Branch: HEAD Handle: 2009122922390000 Modified files: rpm/rpmdb db3.c Log: - db3: don't bother with DB_IMMUTABLE_KEY performance yet. Summary: Revision Changes Path 1.144 +4 -0 rpm/rpmdb/db3.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmdb/db3.c ============================================================================ $ cvs diff -u -r1.143 -r1.144 db3.c --- rpm/rpmdb/db3.c 29 Dec 2009 04:27:47 -0000 1.143 +++ rpm/rpmdb/db3.c 29 Dec 2009 22:39:00 -0000 1.144 @@ -2573,7 +2573,11 @@ dbiIndex Pdbi = NULL; int (*_callback)(DB *, const DBT *, const DBT *, DBT *) = db3Acallback; +#ifdef NOTYET /* XXX KISS for now */ int _flags = DB_IMMUTABLE_KEY; +#else + int _flags = 0; +#endif assert(Ptag == RPMDBI_PACKAGES && Ptag != rpmtag); Pdbi = dbiOpen(rpmdb, Ptag, 0); assert(Pdbi != NULL); @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org