We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9669d7 commit 07af80eCopy full SHA for 07af80e
mysql_ch_replicator/mysql_api.py
@@ -71,9 +71,9 @@ def get_databases(self):
71
72
def get_tables(self):
73
self.reconnect_if_required()
74
- self.cursor.execute('SHOW TABLES')
+ self.cursor.execute('SHOW FULL TABLES')
75
res = self.cursor.fetchall()
76
- tables = [x[0] for x in res]
+ tables = [x[0] for x in res if x[1] == 'BASE TABLE']
77
return tables
78
79
def get_binlog_files(self):
0 commit comments