Skip to content

Commit

Permalink
(#issue 158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Teingi committed May 8, 2024
1 parent 61ac757 commit 983c07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/gather/gather_plan_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 + "<pre style='margin:20px;border:1px solid gray;'>%s</pre>" % (data[1])
schemas = schemas + "<pre style='margin:20px;border:1px solid gray;'>{0}</pre>".format(data[0][1])
self.stdio.verbose("table schema: {0}".format(schemas))
except Exception as e:
pass
Expand Down

0 comments on commit 983c07d

Please sign in to comment.