Skip to content

Commit

Permalink
Merge pull request #3 from Ch00k/patch-1
Browse files Browse the repository at this point in the history
Fix MySQL TABLE_TYPE value
  • Loading branch information
shellfly authored Nov 23, 2023
2 parents cd5ba95 + 542d0e9 commit fd579b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/helper_my.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ func (h MyHelper) GetTablesSQL() string {
return `
SELECT TABLE_NAME as name
FROM information_schema.TABLES
WHERE (TABLE_TYPE = 'BASE_TABLE' OR TABLE_TYPE = 'view') AND TABLE_SCHEMA=DATABASE();
WHERE (TABLE_TYPE = 'BASE TABLE' OR TABLE_TYPE = 'view') AND TABLE_SCHEMA=DATABASE();
`
}

Expand Down

0 comments on commit fd579b7

Please sign in to comment.