mirror of
https://github.com/MariaDB/server.git
synced 2025-05-08 15:01:49 +03:00
This is a redo for 5.5 Added 'innodb_file_format_max' as variable to ignore change to. Tests that had to restore this amended Two tests assumed it to be Antelope, make sure these run on a freshly started server
91 lines
2.9 KiB
Plaintext
91 lines
2.9 KiB
Plaintext
set global innodb_file_format="Barracuda";
|
|
set global innodb_file_per_table=1;
|
|
set global innodb_large_prefix=1;
|
|
DROP TABLE IF EXISTS worklog5743;
|
|
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
|
|
"In connection 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
|
|
SELECT COUNT(*) FROM worklog5743;
|
|
COUNT(*)
|
|
1
|
|
"In connection 2"
|
|
START TRANSACTION;
|
|
INSERT INTO worklog5743 VALUES(REPEAT("b", 3500) , REPEAT("o", 3500));
|
|
"In connection 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
|
|
SELECT COUNT(*) FROM worklog5743;
|
|
COUNT(*)
|
|
1
|
|
START TRANSACTION;
|
|
"In connection default ....restarting the server"
|
|
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
|
|
"In connection 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
|
|
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
|
|
"In connection default ....restarting the server"
|
|
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
|
|
"In connection 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
|
|
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
|
|
"In connection default ....restarting the server"
|
|
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_file_format=Antelope;
|
|
SET GLOBAL innodb_file_per_table=0;
|
|
SET GLOBAL innodb_large_prefix=0;
|