From 2b859a71810ac6352efea43de259eb3343e38e5f Mon Sep 17 00:00:00 2001 From: Laurent Arnoud Date: Thu, 4 Mar 2021 21:08:32 +0100 Subject: Force rebuild on history import Before the v2.0.x release, deleting the table had the same effect, but that's not the case anymore --- scripts/hist_importer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/hist_importer.py b/scripts/hist_importer.py index 6f2b9fa87..df12bcf2e 100755 --- a/scripts/hist_importer.py +++ b/scripts/hist_importer.py @@ -135,7 +135,8 @@ def insert_qb(history, dest): 'INSERT INTO History (url,title,atime,redirect) VALUES (?,?,?,?)', history ) - cursor.execute('DROP TABLE CompletionHistory') + cursor.execute('UPDATE CompletionMetaInfo SET value = 1 ' + 'WHERE key = "force_rebuild"') conn.commit() conn.close() -- cgit v1.2.3-54-g00ecf