Remove flush_tables, fixes #356.

This commit is contained in:
Friedrich Lindenberg 2020-12-29 18:39:44 +01:00
parent 846b5f200a
commit 5e09aba401

View File

@ -125,7 +125,10 @@ class Database(object):
if hasattr(self.local, "tx") and self.local.tx:
tx = self.local.tx.pop()
tx.commit()
self._flush_tables()
# Removed in 2020-12, I'm a bit worried this means that some DDL
# operations in transactions won't cause metadata to refresh any
# more:
# self._flush_tables()
def rollback(self):
"""Roll back the current transaction.