def METHOD_NAME(self):
    # 获取mysql版本信息
    server_version = self.engine.server_version
    if server_version < (5, 7, 0):
        sql = self.sql_variable.replace("performance_schema", "information_schema")
    else:
        sql = self.sql_variable
    return self.engine.query(sql=sql, close_conn=False).to_sep_dict()