We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 054cf97 + 853e613 commit d4a6f59Copy full SHA for d4a6f59
query_runner/mysql.py
@@ -93,12 +93,7 @@ def _get_tables(self, schema):
93
col.table_name,
94
col.column_name
95
FROM `information_schema`.`columns` col
96
- INNER JOIN
97
- (SELECT table_schema,
98
- TABLE_NAME
99
- FROM information_schema.tables
100
- WHERE table_type <> 'SYSTEM VIEW' AND table_schema NOT IN ('performance_schema', 'mysql')) tables ON tables.table_schema = col.table_schema
101
- AND tables.TABLE_NAME = col.TABLE_NAME;
+ WHERE col.table_schema NOT IN ('information_schema', 'performance_schema', 'mysql');
102
"""
103
104
results, error = self.run_query(query, None)
0 commit comments