Another line of spew under if (_debug) test.
authorjbj <devnull@localhost>
Thu, 17 Mar 2005 23:35:14 +0000 (23:35 +0000)
committerjbj <devnull@localhost>
Thu, 17 Mar 2005 23:35:14 +0000 (23:35 +0000)
CVS patchset: 7821
CVS date: 2005/03/17 23:35:14

rpmdb/sqlite.c

index cd86a19..7bb6066 100644 (file)
@@ -1211,8 +1211,10 @@ fprintf(stderr, "\tcget(%s) found data 0x%x (%d)\n", dbi->dbi_subfile,
        }
     }
 
-    if ( rc == DB_NOTFOUND )
-           fprintf(stderr, "\tcget(%s) not found\n", dbi->dbi_subfile);
+    if (rc == DB_NOTFOUND) {
+if (_debug)
+fprintf(stderr, "\tcget(%s) not found\n", dbi->dbi_subfile);
+    }
 
     /* If we retrieved the 0x0 record.. clear so next pass we'll get them all.. */
     if (scp->all == 1 && dbi->dbi_rpmtag == RPMDBI_PACKAGES)