Fix db cursor double-open, causing yum to hang on reinstall (RhBug:678644)
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 21 Feb 2011 08:55:02 +0000 (10:55 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 21 Feb 2011 08:55:02 +0000 (10:55 +0200)
commit4f7fe5e668e9cd8ba62e700f6f3fdaf2256306d8
tree488419cc8d0ba0f26294e784334c76b4b94e2ec1
parent771993d1fc6db95ae92ebe0200f7003554ea32da
Fix db cursor double-open, causing yum to hang on reinstall (RhBug:678644)
- A refactoring error in commit 475391dc581bf5ba72b6d59d16d875505b45bd51
  causes us to open a double cursor on the Package db. This doesn't
  seem to affect much in rpm context, but Yum is being naughty and holding
  two different handles to the same db simultaneously, which causes
  to deadlock on trying to lock the same record twice from two different
  handles .. or something to that effect.
lib/rpmdb.c