[MDEV-31978] Turn ok_for_lower_case_names() to a method in Lex_ident_fs Created: 2023-08-22 Updated: 2023-09-12 Resolved: 2023-08-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Fix Version/s: | 11.3.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Let's turn the global function ok_for_lower_case_names() into a method in Lex_ident_fs:
We'll add a new class Lex_ident_db soon, deriving from Lex_ident_fs. Also, additionally, let's change a few functions and methods to get a database name as a `const LEX_CSTRING` instead of const char *:
These functions and methods use ok_for_lower_case_names() inside. We'll change these functions/methods later to get the database name as Lex_ident_db instead of LEX_CSTRING. This current change from `const char *` to `const LEX_CSTRING` will help to:
|