fixed table dropping
This commit is contained in:
parent
fe3e5f5df5
commit
ee844732b2
@ -41,8 +41,8 @@ class Table(object):
|
||||
"""
|
||||
self._is_dropped = True
|
||||
with self.database.lock:
|
||||
self.database.tables.pop(self.table.name, None)
|
||||
self.table.drop(engine)
|
||||
self.database._tables.pop(self.table.name, None)
|
||||
self.table.drop(self.database.engine)
|
||||
|
||||
def _check_dropped(self):
|
||||
if self._is_dropped:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user