summaryrefslogtreecommitdiff
path: root/sql/sql_signal.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-06-28 09:05:12 +0400
committerAlexander Barkov <bar@mariadb.com>2019-06-28 12:37:04 +0400
commit3e7e87ddccf71ba5328c257b7d642d6803fbca3a (patch)
tree0ea22d4c533b84b2675c3d7c7555f5ad367222ac /sql/sql_signal.cc
parent323a87b591d3e9bcedb7dea09b69d9eeb1c42880 (diff)
downloadmariadb-git-3e7e87ddccf71ba5328c257b7d642d6803fbca3a.tar.gz
MDEV-19897 Rename source code variable names from utf8 to utf8mb3
Diffstat (limited to 'sql/sql_signal.cc')
-rw-r--r--sql/sql_signal.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_signal.cc b/sql/sql_signal.cc
index 320a954711a..1b1d2fe0f31 100644
--- a/sql/sql_signal.cc
+++ b/sql/sql_signal.cc
@@ -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)