Change the way that MySQL verifies if a table exists (hasTable) #2097
Hi, on MySQL dialect, the method hasTable uses the following query to verify if a table exists:
SHOW TABLES LIKE ?
This, could represent an issue if no parameter is defined (check this issue).
I've also added a new test passing an empty parameter on hasTable returning false.
With this PR, you can close the issue #2065.
Edited: The PR has not passed successfully the tests. This is not related with my changes, attached you can find a screenshot of the approved test that I've added.
BTW, I'm aware of this PR #2026, it has more options (like providing the schema within the same method as
Let me know if you want to close this PR in order to give more importance to the PR mentioned above.