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
This commit is contained in:
parent
f088a99138
commit
2b859a7181
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue