-
Notifications
You must be signed in to change notification settings - Fork 54
Description
The mysql server variable lower_case_table_names determines how table names are encoded in the MySQL and NDB data dictionaries. On Linux it is usually set to 0, so that table names are case-preserving, but this is not always the case.
When Cluster/J wants to open a table, it has no way of knowing how lower_case_table_names was set on the MySQL server that created the table. At least, that is my understanding of the comment in DictionaryImpl.getTable(), "try the lower case table name," around line 70 in DictionaryImpl.java.
The patch for RONDB-180 added a four-line block of error handling code above this comment and again below it. The block above the comment prevents the intended fall-through in case the table was not found. It could be changed to check for this error, or it could simply be deleted.