[MDEV-31989] Cleanup Lex_ident_fs::check_body() Created: 2023-08-23 Updated: 2023-09-17 Resolved: 2023-08-23 |
|
| 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 |
|
The main goal of this task is to change the data type of the global variable any_db from LEX_CSTRING to Lex_ident_db, to make upcoming changes easier:
But most changes have to be done in Lex_ident_fs::check_body(), hence the task title. Lex_ident_fs::check_body() depends from system_charset_info, which is initialized after any_db during the server startup. Additionally, let's remove the unused code from Lex_ident_fs::check_body().
There is no sence to keep the old MySQL-4.0 code from the "#else" branch. |