summaryrefslogtreecommitdiff
path: root/lib/rpmdb.c
AgeCommit message (Expand)AuthorFilesLines
2011-11-18cosmetic: indentation in rpmdbNextIterator.Ales Kozumplik1-2/+2
2011-11-18Recognize "<epoch>:" as a part of a label (ticket #117)Ales Kozumplik1-9/+49
2011-11-08Do not let 'rpm -q foo-' find package 'foo'. (RhBug:488567)Ales Kozumplik1-4/+4
2011-09-01Source formatting cosmetics: function blocks start on the next linePanu Matilainen1-3/+6
2011-09-01Add + use helper macro for testing for installed file statePanu Matilainen1-2/+1
2011-08-29Add a new pseudo index for actually installed filesPanu Matilainen1-10/+31
2011-08-29Generalize pseudo tag handling in rpmdbInitIterator()Panu Matilainen1-9/+8
2011-06-09Fix the non-keyed match iteration case wrt DB_NOTFOUNDPanu Matilainen1-0/+4
2011-06-09Use dbiCursorGetToSet() for the non-keyed match-iterator case tooPanu Matilainen1-21/+3
2011-06-09Support set append in dbiCursorGetToSet()Panu Matilainen1-1/+9
2011-06-09If key not specified, use DB_NEXT cursor mode (DB_SET wouldn't make sense)Panu Matilainen1-2/+4
2011-06-09Only honor keylen if keyp is also specifiedPanu Matilainen1-2/+4
2011-06-09Make it an error to call dbiGetToSet() with NULL keypPanu Matilainen1-2/+2
2011-06-08Move the remaining DBT's in rpmdbInitIterator() to (more) local scopePanu Matilainen1-4/+4
2011-06-08Error/notfound case is handled the same for both these casesPanu Matilainen1-9/+5
2011-06-08Take advantage of dbiCursorGetToSet() in dbiFindByLabel() & friendsPanu Matilainen1-31/+13
2011-06-08Split actual cursor get + set-conversion to separate functionPanu Matilainen1-9/+22
2011-06-08Use dbiGetToSet() in rpmdbFindByFile(), lose now unnecessary argumentsPanu Matilainen1-25/+4
2011-06-08Use dbiGetToSet() for the common case in rpmdbInitIterator()Panu Matilainen1-23/+2
2011-06-08Simplify + cleanup rpmdbExtendIterator()Panu Matilainen1-35/+14
2011-06-08Simplify + cleanup rpmdbCountPackages()Panu Matilainen1-32/+9
2011-06-08Add a helper function to convert cursor retrievals to dbiIndexSetsPanu Matilainen1-0/+33
2011-06-08Rename dbiFreeIndexSet() to dbiIndexSetFree() for naming style consistencyPanu Matilainen1-17/+17
2011-06-08Minor cleanup to rpmdbFindByFile()Panu Matilainen1-10/+7
2011-06-08Push cursor init+free down to dbiFindByLabel()Panu Matilainen1-6/+7
2011-06-06Return explicit NULL from dbiFreeIndexSet()Panu Matilainen1-3/+4
2011-06-06Cosmetics: function blocks start on a new linePanu Matilainen1-4/+8
2011-05-31Remove dead keyp & keylen assignments in rpmdbNextIterator()Panu Matilainen1-2/+0
2011-05-29Move db cursor to local scopes, remove dead NULL-assignmentsPanu Matilainen1-7/+6
2011-05-29Eliminate dead NULL-assignments at scope-end in librpm, part VPanu Matilainen1-8/+8
2011-05-13Fix "method not permitted before handle's open method" on --verifydbMichael Schroeder1-1/+1
2011-04-28Avoid malloc() + redundant strlen() calls in dbiFindByLabel()Panu Matilainen1-4/+3
2011-04-21Just ignore miFreeHeader() return on rpmdbNextIterator() tooPanu Matilainen1-2/+1
2011-04-21Ignore dbiSync() return code everywherePanu Matilainen1-9/+6
2011-04-20Oops, thinko/typo in commit 8215e17c248f91f501bd8a2968dfadf896a350cePanu Matilainen1-2/+1
2011-04-20Remove pointless xx tmp return code from dbiAppendSet() resultPanu Matilainen1-2/+1
2011-04-20Convert the other (rpmdb iterators etc) uses to the new cursor apiPanu Matilainen1-50/+36
2011-04-20Convert local-only uses of DBC to dbiCursor interfacePanu Matilainen1-32/+26
2011-04-19Return explicit NULL's from db iterator free functions for clarityPanu Matilainen1-6/+3
2011-04-19Ignore error codes in rpmdbIndexIteratorFree()Panu Matilainen1-2/+1
2011-04-19Ignore error codes in rpmdbFreeIterator()Panu Matilainen1-3/+2
2011-04-18Remove yet another pointless tmp variablePanu Matilainen1-4/+4
2011-04-18Collect proper exit status from rpmdbRemoveDatabase()Panu Matilainen1-6/+5
2011-04-18Ignore rpmdbClose() return on failed rpmdbOpen()Panu Matilainen1-2/+2
2011-04-15Remember to free db index iterators too on forced terminationPanu Matilainen1-0/+7
2011-04-15Fix dangling databases from iterators (ticket #820)Panu Matilainen1-3/+2
2011-04-15Only muck with signals on first and last db open/closePanu Matilainen1-10/+14
2011-02-21Fix db cursor double-open, causing yum to hang on reinstall (RhBug:678644)Panu Matilainen1-1/+0
2011-01-21Fix rpmdb index match iteration termination with NULL keyp (#671149)Panu Matilainen1-2/+1
2011-01-21Avoid automatic index generation on db rebuildPanu Matilainen1-1/+2