]> git.ipfire.org Git - pakfire.git/commitdiff
libpakfire: db: Fix typo in optimize
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Jan 2021 18:08:56 +0000 (18:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Jan 2021 18:08:56 +0000 (18:08 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/db.c

index 6243682964323941c588c834c51d17cc84e6085d..eb70b3f771fe7b7a179f4ba793365d71f3f574bb 100644 (file)
@@ -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");
 }