mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
MDEV-31989 Cleanup Lex_ident_fs::check_body()
- Changing the data type of the global variable any_db from LEX_CSTRING to Lex_ident_db - Removing the dependency on system_charset_info from Lex_ident_fs::check_body(), using my_charset_utf8mb3_general_ci directly, because system_charset_info is initialized much later than any_db. system_charset_info cannot be changed dynamically any way. - Removing the unsed old code from Lex_ident_fs::check_body(). This code was last used in MySQL-4.0 and won't be used in the future.
This commit is contained in:
@@ -126,7 +126,7 @@ static int show_create_db(THD *thd, LEX *lex);
|
||||
static bool alter_routine(THD *thd, LEX *lex);
|
||||
static bool drop_routine(THD *thd, LEX *lex);
|
||||
|
||||
const LEX_CSTRING any_db= {STRING_WITH_LEN("*any*")};
|
||||
const Lex_ident_db any_db(STRING_WITH_LEN("*any*"));
|
||||
|
||||
const LEX_CSTRING command_name[257]={
|
||||
{ STRING_WITH_LEN("Sleep") }, //0
|
||||
|
Reference in New Issue
Block a user