summaryrefslogtreecommitdiff
path: root/scripts/mysql_performance_tables.sql
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 /scripts/mysql_performance_tables.sql
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 'scripts/mysql_performance_tables.sql')
-rw-r--r--scripts/mysql_performance_tables.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_performance_tables.sql b/scripts/mysql_performance_tables.sql
index 306160355de..3a7d0ef5261 100644
--- a/scripts/mysql_performance_tables.sql
+++ b/scripts/mysql_performance_tables.sql
@@ -47,7 +47,7 @@ PREPARE stmt FROM @str;
EXECUTE stmt;
DROP PREPARE stmt;
-SET @cmd= "CREATE DATABASE performance_schema character set utf8";
+SET @cmd= "CREATE DATABASE performance_schema character set utf8mb3";
SET @str = IF(@broken_pfs = 0, @cmd, 'SET @dummy = 0');
PREPARE stmt FROM @str;