mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-8334: Rename utf8 to utf8mb3
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.
This commit is contained in:
committed by
Oleksandr Byelkin
parent
c366845a0b
commit
2fdb556e04
@@ -1,5 +1,5 @@
|
||||
--- page_size.result
|
||||
+++ page_size,4k.result
|
||||
+++ page_size,4k.reject
|
||||
@@ -3,7 +3,7 @@
|
||||
SELECT variable_value FROM information_schema.global_status
|
||||
WHERE LOWER(variable_name) = 'innodb_page_size';
|
||||
@@ -339,7 +339,7 @@
|
||||
- `d` text NOT NULL,
|
||||
- PRIMARY KEY (`a`,`b`(255),`c`(255)),
|
||||
- KEY `b` (`b`(767))
|
||||
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0
|
||||
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 STATS_PERSISTENT=0
|
||||
-CHECK TABLE t1;
|
||||
-Table Op Msg_type Msg_text
|
||||
-test.t1 check status OK
|
||||
@@ -434,7 +434,7 @@
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
DROP TABLE t1;
|
||||
# Bug#12547647 UPDATE LOGGING COULD EXCEED LOG PAGE SIZE
|
||||
@@ -565,27 +385,25 @@
|
||||
@@ -569,27 +389,25 @@
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(
|
||||
c text NOT NULL, d text NOT NULL,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
--- page_size.result
|
||||
+++ page_size,8k.result
|
||||
+++ page_size,8k.reject
|
||||
@@ -3,7 +3,7 @@
|
||||
SELECT variable_value FROM information_schema.global_status
|
||||
WHERE LOWER(variable_name) = 'innodb_page_size';
|
||||
@@ -309,7 +309,7 @@
|
||||
- `d` text NOT NULL,
|
||||
- PRIMARY KEY (`a`,`b`(255),`c`(255)),
|
||||
- KEY `b` (`b`(767))
|
||||
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0
|
||||
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 STATS_PERSISTENT=0
|
||||
-CHECK TABLE t1;
|
||||
-Table Op Msg_type Msg_text
|
||||
-test.t1 check status OK
|
||||
@@ -387,7 +387,7 @@
|
||||
KEY `t1t` (`t`(767)),
|
||||
KEY `t1u` (`u`(767)),
|
||||
KEY `t1ut` (`u`(767),`t`(767)),
|
||||
@@ -568,14 +397,14 @@
|
||||
@@ -572,14 +401,14 @@
|
||||
PRIMARY KEY (c(767),d(767)))
|
||||
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
|
||||
Warnings:
|
||||
@@ -404,7 +404,7 @@
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(
|
||||
c text NOT NULL, d text NOT NULL,
|
||||
@@ -585,7 +414,7 @@
|
||||
@@ -589,7 +418,7 @@
|
||||
CREATE TABLE t1(c text, PRIMARY KEY (c(440)))
|
||||
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
|
||||
Warnings:
|
||||
|
@@ -367,7 +367,7 @@ t1 CREATE TABLE `t1` (
|
||||
`d` text NOT NULL,
|
||||
PRIMARY KEY (`a`,`b`(255),`c`(255)),
|
||||
KEY `b` (`b`(767))
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 STATS_PERSISTENT=0
|
||||
CHECK TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
|
Reference in New Issue
Block a user