mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-32002 Remove my_casedn_str() in append_identifier() context
- Adding a helper function append_identifier_opt_casedn() - Reusing it in: Item_ident::print() Item_func_nextval::print() Item_func_setval::print() This change remove six my_casedn_str() calls and reduces the code size.
This commit is contained in:
@@ -96,6 +96,10 @@ static inline bool append_identifier(THD *thd, String *packet, const LEX_CSTRING
|
||||
{
|
||||
return append_identifier(thd, packet, name->str, name->length);
|
||||
}
|
||||
|
||||
bool append_identifier_opt_casedn(THD *thd, String *to,
|
||||
const LEX_CSTRING &ident, bool casedn);
|
||||
|
||||
void mysqld_list_fields(THD *thd,TABLE_LIST *table, const char *wild);
|
||||
int mysqld_dump_create_info(THD *thd, TABLE_LIST *table_list, int fd);
|
||||
bool mysqld_show_create_get_fields(THD *thd, TABLE_LIST *table_list,
|
||||
|
Reference in New Issue
Block a user