Issue #410: handle the case where left-over records are present in the files table with no corresponding entry in the pkg table.
modified libpkg/pkgdb.c
@@ -1678,6 +1678,7 @@ typedef enum _sql_prstmt_index {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1728,6 +1729,12 @@ static sql_prstmt sql_prepared_statements[PRSTMT_LAST] = {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -2016,7 +2023,20 @@ pkgdb_register_pkg(struct pkgdb *db, struct pkg *pkg, int complete)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|