The case of the table names returned by information_schema queries depends on MySQL's lower_case_table_names setting: on systems where the value is non-zero the table name will be forced to lowercase. Importing tables with mixed-case names requires different SQL depending on the MySQL server's settings as explained in #202.
This PR fixes the issue by forcing a suitable collation so that the information_schema query is case insensitive when matching table names and preserves case in the results.
The case of the table names returned by
information_schema
queries depends on MySQL'slower_case_table_names
setting: on systems where the value is non-zero the table name will be forced to lowercase. Importing tables with mixed-case names requires different SQL depending on the MySQL server's settings as explained in #202.This PR fixes the issue by forcing a suitable collation so that the
information_schema
query is case insensitive when matching table names and preserves case in the results.Fixes #202.