Skip to content

Commit

Permalink
fixed results with 0 rows
Browse files Browse the repository at this point in the history
  • Loading branch information
jlloyd-widen committed Jul 17, 2024
1 parent 29ac603 commit 2a4c139
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tap_mysql/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ def discover_catalog_entries(self) -> list[dict]:
)
custom_result = connection.execute(query)
custom_rec = custom_result.fetchone()
if not custom_rec:
continue
# inject the table_schema into the list of columns
custom_rec_keys = list(custom_rec._fields) + ["mysql_schema"]

Expand Down

0 comments on commit 2a4c139

Please sign in to comment.