diff --git a/handler/gather/gather_plan_monitor.py b/handler/gather/gather_plan_monitor.py index 88d29e44..ac7b71c2 100644 --- a/handler/gather/gather_plan_monitor.py +++ b/handler/gather/gather_plan_monitor.py @@ -277,7 +277,7 @@ def report_schema(self, sql): for t in valid_words: try: data = self.db_connector.execute_sql("show create table %s" % t) - schemas = schemas + "
%s
" % (data[1]) + schemas = schemas + "
{0}
".format(data[0][1]) self.stdio.verbose("table schema: {0}".format(schemas)) except Exception as e: pass