Skip to content

Commit

Permalink
Merge pull request #4 from Widen/fix-no-row-returned
Browse files Browse the repository at this point in the history
fixed results with 0 rows
  • Loading branch information
jlloyd-widen authored Jul 17, 2024
2 parents 29ac603 + 2a4c139 commit 3a46883
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 3a46883

Please sign in to comment.