Skip to content

Commit

Permalink
Fix rotten repo-*.sqlite when ^C is hit
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Dec 28, 2013
1 parent 89fb753 commit 5637519
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libpkg/pkgdb_repo.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,10 +373,6 @@ pkgdb_repo_init(sqlite3 *sqlite)
if (retcode != EPKG_OK)
return (retcode);

retcode = sql_exec(sqlite, "PRAGMA journal_mode=memory");
if (retcode != EPKG_OK)
return (retcode);

retcode = sql_exec(sqlite, "PRAGMA foreign_keys=on");
if (retcode != EPKG_OK)
return (retcode);
Expand Down

0 comments on commit 5637519

Please sign in to comment.