We have a situation where the table_name_case_sensitivity seems to be applied inconsistently. On some tables it appears to work just fine, but on others it does not:
memsql> show global variables like '%case_sens%';
+-----------------------------+-------+
| Variable_name | Value |
+-----------------------------+-------+
| table_name_case_sensitivity | OFF |
+-----------------------------+-------+
1 row in set (0.00 sec)
memsql> show tables;
+-------------------------+
| Tables_in_crca_core |
+-------------------------+
| DATABASECHANGELOG |
| DATABASECHANGELOGLOCK |
| hospitals |
| hospitals_users |
| user_hospital_filters |
| user_password_histories |
| users |
+-------------------------+
7 rows in set (0.00 sec)
memsql> select count(*) from crca_core.hospitals_USERS;
+----------+
| count(*) |
+----------+
| 15 |
+----------+
1 row in set (0.06 sec)
memsql> select count(*) from crca_core.hospitals_users;
+----------+
| count(*) |
+----------+
| 15 |
+----------+
1 row in set (0.06 sec)
memsql> select count(*) from crca_core.Users;
ERROR 1146 (42S02): Table 'crca_core.Users' doesn't exist
memsql> select count(*) from crca_core.users;
+----------+
| count(*) |
+----------+
| 13 |
+----------+
1 row in set (0.00 sec)
memsql> select count(*) from crca_core.DATABASECHANGELOG ;
+----------+
| count(*) |
+----------+
| 5 |
+----------+
1 row in set (0.09 sec)
memsql> select count(*) from crca_core.DatabaseChangeLog;
+----------+
| count(*) |
+----------+
| 5 |
+----------+
1 row in set (0.06 sec)