Merge pull request #155 from dequis/vacuum-analyze-sqlite-3-15
Turn "vacuum analyze" into two commands (fix for sqlite 3.15)
This commit is contained in:
commit
9db8fb66e9
@ -446,7 +446,8 @@ create table meta (dirMod int, lastUsn int); insert into meta values (0, 0);
|
||||
self.db.execute("update meta set lastUsn=0,dirMod=0")
|
||||
self.db.commit()
|
||||
self.db.setAutocommit(True)
|
||||
self.db.execute("vacuum analyze")
|
||||
self.db.execute("vacuum")
|
||||
self.db.execute("analyze")
|
||||
self.db.setAutocommit(False)
|
||||
|
||||
# Media syncing: zips
|
||||
|
Loading…
Reference in New Issue
Block a user