From a4ad85691c6a53f6faf53bc64a7a0a1c32515cd5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 24 Oct 2016 14:33:53 +0300 Subject: [PATCH] Fix VACUUM command SQLite doesn't vacuum a single table but the entire database. --- xsetbg_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xsetbg_db.py b/xsetbg_db.py index 53e0e3c..35840cc 100755 --- a/xsetbg_db.py +++ b/xsetbg_db.py @@ -49,7 +49,7 @@ class SQLiteMassInsert(object): def __exit__(self, *args, **kw): sqlhub.processConnection.commit() connection = sqlhub.processConnection = self.connection - connection.query("VACUUM %s" % xsetbg_db.sqlmeta.table) + connection.query("VACUUM") db_dirs = [] -- 2.39.2