summaryrefslogtreecommitdiff
path: root/plugin/handler_socket/client/hslongrun.cpp
diff options
context:
space:
mode:
authorRucha Deodhar <rucha.deodhar@mariadb.com>2021-02-15 01:39:37 +0530
committerRucha Deodhar <rucha.deodhar@mariadb.com>2021-03-16 21:11:21 +0530
commite15a5ca9e89153db7cc9ce978bb789a4038b7c25 (patch)
tree9c33fb2d815210f032e887af5da0f28c9d8c5301 /plugin/handler_socket/client/hslongrun.cpp
parenta1542f8a57390bbad916ddfd335e1c751ffb3de5 (diff)
downloadmariadb-git-10.6-rucha-mdev-8334.tar.gz
MDEV-8334: Rename utf8 to utf8mb310.6-rucha-mdev-8334
This patch changes the main name of 3 byte character set from utf8 to utf8mb3. New old_mode UTF8_IS_UTF8MB3 is added and set TRUE by default, so that utf8 would mean utf8mb3. If not set, utf8 would mean utf8mb4.
Diffstat (limited to 'plugin/handler_socket/client/hslongrun.cpp')
-rw-r--r--plugin/handler_socket/client/hslongrun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/handler_socket/client/hslongrun.cpp b/plugin/handler_socket/client/hslongrun.cpp
index b7c02951340..7f88d48fff2 100644
--- a/plugin/handler_socket/client/hslongrun.cpp
+++ b/plugin/handler_socket/client/hslongrun.cpp
@@ -897,7 +897,7 @@ hs_longrun_init_table(const config& conf, int num_prepare,
"v1 varchar(32) not null,"
"v2 varchar(32) not null,"
"v3 varchar(32) not null"
- ") character set utf8 collate utf8_bin engine = innodb");
+ ") character set utf8mb3 collate utf8_bin engine = innodb");
for (int i = 0; i < num_prepare; ++i) {
const std::string i_str = to_stdstring(i);
const std::string v1 = "pv1_" + i_str;