From: Michael Tremer Date: Fri, 22 Jan 2021 18:08:56 +0000 (+0000) Subject: libpakfire: db: Fix typo in optimize X-Git-Tag: 0.9.28~1285^2~817 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44d392ef86b1694a95e138e26dccafb5d7ded0f3;p=pakfire.git libpakfire: db: Fix typo in optimize Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/db.c b/src/libpakfire/db.c index 624368296..eb70b3f77 100644 --- a/src/libpakfire/db.c +++ b/src/libpakfire/db.c @@ -88,7 +88,7 @@ static int pakfire_db_rollback(struct pakfire_db* db) { to keep the database as compact as possible on disk. */ static void pakfire_db_optimize(struct pakfire_db* db) { - pakfire_db_execute(db, "PRAGMA optmize"); + pakfire_db_execute(db, "PRAGMA optimize"); pakfire_db_execute(db, "PRAGMA wal_checkpoint = TRUNCATE"); }