From 983c07d45066c07577dbc863a6ff0dd254a728e0 Mon Sep 17 00:00:00 2001 From: Teingi Date: Wed, 8 May 2024 10:50:32 +0800 Subject: [PATCH] (#issue 158) --- handler/gather/gather_plan_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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