Seems it was that lock.

This commit is contained in:
Friedrich Lindenberg
2020-08-23 12:23:00 +02:00
parent 28109d6826
commit 3fe0ae10aa
2 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -528,8 +528,8 @@ class Table(object):
self._threading_warn()
self.table.drop(self.db.executable, checkfirst=True)
self._table = None
self._columns = None
self.db._tables.pop(self.name, None)
self._flush_metadata()
def has_index(self, columns):
"""Check if an index exists to cover the given ``columns``."""