- count readlocks as well (so they get released too)
authorpmatilai <pmatilai>
Mon, 5 Jun 2006 18:46:37 +0000 (18:46 +0000)
committerpmatilai <pmatilai>
Mon, 5 Jun 2006 18:46:37 +0000 (18:46 +0000)
apt-pkg/rpm/rpmsystem.cc

index a08df7d..ce710c7 100644 (file)
@@ -79,6 +79,7 @@ RPMDBHandler *rpmSystem::GetDBHandler()
 bool rpmSystem::LockRead()
 {
    GetDBHandler();
+   LockCount++;
    if (_error->PendingError() == true)
       return false;
    return true;