Only convert table name to lower-case when installation forces it
Issue #12861 A `lower_case_table_names` setting of `2` does not mean that the table needs to be forced to lower-case This preserves case unless the `lower_case_table_names` setting is `1`, implying that lower-case should be forced Signed-off-by: Mike Lewis <mike@mplew.is>
This commit is contained in:
parent
f4c620bcf2
commit
3bf78afeca
@ -1350,7 +1350,7 @@ class Table
|
||||
);
|
||||
}
|
||||
);
|
||||
if ($lowerCaseTableNames) {
|
||||
if ($lowerCaseTableNames === '1') {
|
||||
$new_name = strtolower($new_name);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user