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:   25-Dec-2009 15:28:42
  Branch: HEAD                             Handle: 2009122514284200

  Modified files:
    rpm/lib                 rpmchecksig.c

  Log:
    - pubkeys: add a txn checkpoint after importing a pubkey as well.

  Summary:
    Revision    Changes     Path
    1.234       +2  -0      rpm/lib/rpmchecksig.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/lib/rpmchecksig.c
  ============================================================================
  $ cvs diff -u -r1.233 -r1.234 rpmchecksig.c
  --- rpm/lib/rpmchecksig.c     25 Dec 2009 14:15:30 -0000      1.233
  +++ rpm/lib/rpmchecksig.c     25 Dec 2009 14:28:42 -0000      1.234
  @@ -749,6 +749,8 @@
       } else
        xx = rpmtxnCommit(rpmtsGetRdb(ts)->db_txn);
       rpmtsGetRdb(ts)->db_txn = NULL;
  +            ts->txn = NULL;
  +    xx = rpmtxnCheckpoint(rpmtsGetRdb(ts));
       rc = RPMRC_OK;
   
   exit:
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to