Commit 5cc90ec1 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Merge branch 'cache_crash' into 'next'

Fix Crash of Cache Clearing

See merge request !1395
parents 06b7d65a 9acf647b
Pipeline #198560 passed with stage
in 4 minutes and 31 seconds
......@@ -103,7 +103,7 @@ class CacheDatabase:
@param table as str
"""
with SqlCursor(self, True) as sql:
sql.execute("DELETE FROM ?", (table,))
sql.execute('DELETE FROM "%s"' % table)
def clean(self, commit=True):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment