mirror of
https://github.com/MariaDB/server.git
synced 2025-11-30 05:23:50 +03:00
The following options will be removed: innodb_file_format innodb_file_format_check innodb_file_format_max innodb_large_prefix They have been deprecated in MySQL 5.7.7 (and MariaDB 10.2.2) in WL#7703. The file_format column in two INFORMATION_SCHEMA tables will be removed: innodb_sys_tablespaces innodb_sys_tables Code to update the file format tag at the end of page 0:5 (TRX_SYS_PAGE in the InnoDB system tablespace) will be removed. When initializing a new database, the bytes will remain 0. All references to the Barracuda file format will be removed. Some references to the Antelope file format (meaning ROW_FORMAT=REDUNDANT or ROW_FORMAT=COMPACT) will remain. This basically ports WL#7704 from MySQL 8.0.0 to MariaDB 10.3.1: commit 4a69dc2a95995501ed92d59a1de74414a38540c6 Author: Marko Mäkelä <marko.makela@oracle.com> Date: Wed Mar 11 22:19:49 2015 +0200
87 lines
2.7 KiB
Plaintext
87 lines
2.7 KiB
Plaintext
CREATE TABLE worklog5743 (
|
|
col_1_text TEXT(4000) , col_2_text TEXT(4000) ,
|
|
PRIMARY KEY (col_1_text(3072))
|
|
) ROW_FORMAT=DYNAMIC, engine = innodb;
|
|
INSERT INTO worklog5743 VALUES(REPEAT("a", 3500) , REPEAT("o", 3500));
|
|
SELECT col_1_text = REPEAT("a", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
connect con1,localhost,root,,;
|
|
SELECT col_1_text = REPEAT("a", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
SELECT COUNT(*) FROM worklog5743;
|
|
COUNT(*)
|
|
1
|
|
connect con2,localhost,root,,;
|
|
START TRANSACTION;
|
|
INSERT INTO worklog5743 VALUES(REPEAT("b", 3500) , REPEAT("o", 3500));
|
|
connection con1;
|
|
SELECT col_1_text = REPEAT("a", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
SELECT COUNT(*) FROM worklog5743;
|
|
COUNT(*)
|
|
1
|
|
START TRANSACTION;
|
|
connection default;
|
|
SELECT COUNT(*) FROM worklog5743;
|
|
COUNT(*)
|
|
1
|
|
SELECT col_1_text = REPEAT("a", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
disconnect con1;
|
|
disconnect con2;
|
|
connect con1,localhost,root,,;
|
|
SELECT col_1_text = REPEAT("a", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
SELECT COUNT(*) FROM worklog5743;
|
|
COUNT(*)
|
|
1
|
|
START TRANSACTION;
|
|
INSERT INTO worklog5743 VALUES(REPEAT("b", 3500) , REPEAT("o", 3500));
|
|
DELETE FROM worklog5743 WHERE col_1_text = REPEAT("b", 3500);
|
|
SELECT col_1_text = REPEAT("a", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
connection default;
|
|
SELECT COUNT(*) FROM worklog5743;
|
|
COUNT(*)
|
|
1
|
|
SELECT col_1_text = REPEAT("a", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
disconnect con1;
|
|
connect con2,localhost,root,,;
|
|
SELECT col_1_text = REPEAT("a", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
SELECT COUNT(*) FROM worklog5743;
|
|
COUNT(*)
|
|
1
|
|
START TRANSACTION;
|
|
UPDATE worklog5743 SET col_1_text = REPEAT("b", 3500) WHERE col_1_text = REPEAT("a", 3500);
|
|
SELECT col_1_text = REPEAT("b", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("b", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
connection default;
|
|
SELECT COUNT(*) FROM worklog5743;
|
|
COUNT(*)
|
|
1
|
|
SELECT col_1_text = REPEAT("a", 3500) , col_2_text = REPEAT("o", 3500) FROM
|
|
worklog5743;
|
|
col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
|
|
1 1
|
|
DROP TABLE worklog5743;
|