mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
innodb_file_format=Barracuda is the default in MariaDB 10.2. Do not set it, because the option will be removed in MariaDB 10.3. Also, do not set innodb_file_per_table=1 because it is the default. Note that MDEV-11828 should fix the test innodb.innodb-64k already in 10.1.
93 lines
3.1 KiB
Plaintext
93 lines
3.1 KiB
Plaintext
set global innodb_large_prefix=1;
|
|
Warnings:
|
|
Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html
|
|
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;
|
|
SET GLOBAL innodb_large_prefix=1;
|
|
Warnings:
|
|
Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html
|