Avoid SQLite3 database corruption.
modified libpkg/pkgdb.c
@@ -336,6 +336,8 @@ static int
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -2925,8 +2927,6 @@ int
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -2992,9 +2992,7 @@ int
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/repo/binary/init.c
@@ -482,7 +482,12 @@ pkg_repo_binary_init(struct pkg_repo *repo)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/repo/binary/update.c
@@ -519,7 +519,8 @@ pkg_repo_binary_update_proceed(const char *name, struct pkg_repo *repo,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|