Fix rpmdb index match iteration termination with NULL keyp (#671149)
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 21 Jan 2011 11:52:17 +0000 (13:52 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 21 Jan 2011 11:52:17 +0000 (13:52 +0200)
commita3ec6066af23e0c9e0de6160c14cb2a502e8fa89
tree0717039aea02f163bf1731abd660725a95d11a82
parent5ddb36d2739653ebe50dc39176a9ca43d0555676
Fix rpmdb index match iteration termination with NULL keyp (#671149)
- When iterating secondary indexes with NULL keyp, the last entry
  was being returned twice as dbiAppendSet() would get called
  even when dbiGet() returned non-zero.
lib/rpmdb.c