[MDEV-31606] Refactor check_db_name() to get a const argument Created: 2023-07-03 Updated: 2023-10-17 Resolved: 2023-10-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Fix Version/s: | 11.3.0 |
| Type: | Task | Priority: | Critical |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
This task was originally a part of MDEV-31531, but now is a separate task, because it'll be quite a big change itself. check_db_name() converts the argument to lower case if lower_case_table_name>0. The current implementation of:
should be changed to get a constant argument:
All old-style check_db_name() use cases should be changed in the way that in case of lower_case_table_names>1 the following sequence is done:
|
| Comments |
| Comment by Alexander Barkov [ 2023-07-05 ] |
|
Hello Dmitry, please review a patch in bb-10.11-bar- |
| Comment by Dmitry Shulga [ 2023-09-08 ] |
|
Approved |
| Comment by Alexander Barkov [ 2023-09-13 ] |
|
Pushed to 11.3 |
| Comment by Ramesh Sivaraman [ 2023-10-10 ] |
|
ok to push |