Don't call SQLBaseStore methods from outside stores

This commit is contained in:
Erik Johnston 2019-12-04 10:16:44 +00:00
parent 3eb15c01d9
commit c2f525a525
4 changed files with 20 additions and 19 deletions

View file

@ -1496,14 +1496,6 @@ class SQLBaseStore(object):
return cls.cursor_to_dict(txn)
@property
def database_engine_name(self):
return self.database_engine.module.__name__
def get_server_version(self):
"""Returns a string describing the server version number"""
return self.database_engine.server_version
class _RollbackButIsFineException(Exception):
""" This exception is used to rollback a transaction without implying