mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-19897 Rename source code variable names from utf8 to utf8mb3
This commit is contained in:
@ -151,7 +151,7 @@ static int assign_condition_item(MEM_ROOT *mem_root, const char* name, THD *thd,
|
||||
Item *set, String *ci)
|
||||
{
|
||||
char str_buff[(64+1)*4]; /* Room for a null terminated UTF8 String 64 */
|
||||
String str_value(str_buff, sizeof(str_buff), & my_charset_utf8_bin);
|
||||
String str_value(str_buff, sizeof(str_buff), & my_charset_utf8mb3_bin);
|
||||
String *str;
|
||||
bool truncated;
|
||||
|
||||
@ -164,7 +164,7 @@ static int assign_condition_item(MEM_ROOT *mem_root, const char* name, THD *thd,
|
||||
}
|
||||
|
||||
str= set->val_str(& str_value);
|
||||
truncated= assign_fixed_string(mem_root, & my_charset_utf8_bin, 64, ci, str);
|
||||
truncated= assign_fixed_string(mem_root, & my_charset_utf8mb3_bin, 64, ci, str);
|
||||
if (truncated)
|
||||
{
|
||||
if (thd->is_strict_mode())
|
||||
@ -260,7 +260,7 @@ int Sql_cmd_common_signal::eval_signal_informations(THD *thd, Sql_condition *con
|
||||
bool truncated;
|
||||
String utf8_text;
|
||||
str= set->val_str(& str_value);
|
||||
truncated= assign_fixed_string(thd->mem_root, & my_charset_utf8_bin,
|
||||
truncated= assign_fixed_string(thd->mem_root, & my_charset_utf8mb3_bin,
|
||||
MYSQL_ERRMSG_SIZE,
|
||||
& utf8_text, str);
|
||||
if (truncated)
|
||||
|
Reference in New Issue
Block a user