summaryrefslogtreecommitdiff
path: root/client/mysqltest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqltest.cc')
-rw-r--r--client/mysqltest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index a7dc04b5f54..f9061ab24cc 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -4968,7 +4968,8 @@ void do_set_charset(struct st_command *command)
if(*p)
*p++= 0;
command->last_argument= p;
- charset_info= get_charset_by_csname(charset_name,MY_CS_PRIMARY,MYF(MY_WME));
+ charset_info= get_charset_by_csname(charset_name,MY_CS_PRIMARY,
+ MYF(MY_WME | MY_UTF8_IS_UTF8MB3));
if (!charset_info)
abort_not_supported_test("Test requires charset '%s'", charset_name);
}