Commit dfde5ae9 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-14130 InnoDB messages should not refer to the MySQL 5.7 manual

Replace most occurrences of the REFMAN macro. For some pages there
is no replacement yet.
parent d1cf9b16
...@@ -124,4 +124,4 @@ DROP TABLE t1; ...@@ -124,4 +124,4 @@ DROP TABLE t1;
DROP TABLE t2; DROP TABLE t2;
DROP PROCEDURE setcrash; DROP PROCEDURE setcrash;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
...@@ -124,4 +124,4 @@ DROP TABLE t1; ...@@ -124,4 +124,4 @@ DROP TABLE t1;
DROP TABLE t2; DROP TABLE t2;
DROP PROCEDURE setcrash; DROP PROCEDURE setcrash;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
call mtr.add_suppression("InnoDB: Cannot add field .* in table .* because after adding it, the row size is .* which is greater than maximum allowed size (.*) for a record on index leaf page."); call mtr.add_suppression("InnoDB: Cannot add field .* in table .* because after adding it, the row size is .* which is greater than maximum allowed size (.*) for a record on index leaf page.");
SET GLOBAL innodb_large_prefix = OFF; SET GLOBAL innodb_large_prefix = OFF;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
# Test 1) Show the page size from Information Schema # Test 1) Show the page size from Information Schema
SELECT variable_value FROM information_schema.global_status SELECT variable_value FROM information_schema.global_status
WHERE LOWER(variable_name) = 'innodb_page_size'; WHERE LOWER(variable_name) = 'innodb_page_size';
...@@ -971,4 +971,4 @@ COL197 TEXT) ...@@ -971,4 +971,4 @@ COL197 TEXT)
row_format=compact,ENGINE=INNODB; row_format=compact,ENGINE=INNODB;
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline. ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
...@@ -2360,13 +2360,13 @@ drop table t1; ...@@ -2360,13 +2360,13 @@ drop table t1;
SET sql_mode = 'NO_ENGINE_SUBSTITUTION'; SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
SET GLOBAL innodb_large_prefix=OFF; SET GLOBAL innodb_large_prefix=OFF;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create table t1 (v varchar(65530), key(v)); create table t1 (v varchar(65530), key(v));
Warnings: Warnings:
Warning 1071 Specified key was too long; max key length is 767 bytes Warning 1071 Specified key was too long; max key length is 767 bytes
SET GLOBAL innodb_large_prefix=default; SET GLOBAL innodb_large_prefix=default;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
drop table t1; drop table t1;
create table t1 (v varchar(65536)); create table t1 (v varchar(65536));
Warnings: Warnings:
...@@ -2534,7 +2534,7 @@ drop table t1, t2, t3, t4, t5, t6, t7, t8, t9; ...@@ -2534,7 +2534,7 @@ drop table t1, t2, t3, t4, t5, t6, t7, t8, t9;
SET sql_mode = 'NO_ENGINE_SUBSTITUTION'; SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
SET GLOBAL innodb_large_prefix=OFF; SET GLOBAL innodb_large_prefix=OFF;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create table t1 (col1 varchar(768), index(col1)) create table t1 (col1 varchar(768), index(col1))
character set = latin1 engine = innodb; character set = latin1 engine = innodb;
Warnings: Warnings:
...@@ -2553,7 +2553,7 @@ Warnings: ...@@ -2553,7 +2553,7 @@ Warnings:
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
SET GLOBAL innodb_large_prefix=default; SET GLOBAL innodb_large_prefix=default;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
show create table t1; show create table t1;
Table Create Table Table Create Table
t1 CREATE TABLE `t1` ( t1 CREATE TABLE `t1` (
...@@ -2563,7 +2563,7 @@ t1 CREATE TABLE `t1` ( ...@@ -2563,7 +2563,7 @@ t1 CREATE TABLE `t1` (
drop table t1, t2, t3, t4; drop table t1, t2, t3, t4;
set global innodb_large_prefix=OFF; set global innodb_large_prefix=OFF;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create table t1 (col1 varchar(768) primary key) create table t1 (col1 varchar(768) primary key)
character set = latin1 engine = innodb; character set = latin1 engine = innodb;
ERROR 42000: Specified key was too long; max key length is 767 bytes ERROR 42000: Specified key was too long; max key length is 767 bytes
...@@ -2579,7 +2579,7 @@ ERROR 42000: Specified key was too long; max key length is 767 bytes ...@@ -2579,7 +2579,7 @@ ERROR 42000: Specified key was too long; max key length is 767 bytes
SET sql_mode = default; SET sql_mode = default;
set global innodb_large_prefix=default; set global innodb_large_prefix=default;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
CREATE TABLE t1 CREATE TABLE t1
( (
id INT PRIMARY KEY id INT PRIMARY KEY
......
...@@ -4,19 +4,19 @@ select @old_innodb_file_format_max; ...@@ -4,19 +4,19 @@ select @old_innodb_file_format_max;
Barracuda Barracuda
set global innodb_file_format_max = Barracuda; set global innodb_file_format_max = Barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@innodb_file_format_max; select @@innodb_file_format_max;
@@innodb_file_format_max @@innodb_file_format_max
Barracuda Barracuda
set global innodb_file_format_max = DEFAULT; set global innodb_file_format_max = DEFAULT;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@innodb_file_format_max; select @@innodb_file_format_max;
@@innodb_file_format_max @@innodb_file_format_max
Antelope Antelope
set global innodb_file_format_max = @old_innodb_file_format_max; set global innodb_file_format_max = @old_innodb_file_format_max;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@innodb_file_format_max; select @@innodb_file_format_max;
@@innodb_file_format_max @@innodb_file_format_max
Barracuda Barracuda
...@@ -29,4 +29,4 @@ ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'ON' ...@@ -29,4 +29,4 @@ ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'ON'
set global innodb_file_format_max = off; set global innodb_file_format_max = off;
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'off' ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'off'
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
...@@ -9,10 +9,10 @@ select @@innodb_file_format_max; ...@@ -9,10 +9,10 @@ select @@innodb_file_format_max;
Barracuda Barracuda
set global innodb_file_format=antelope; set global innodb_file_format=antelope;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_format=barracuda; set global innodb_file_format=barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_format=cheetah; set global innodb_file_format=cheetah;
ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'cheetah' ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'cheetah'
select @@innodb_file_format; select @@innodb_file_format;
...@@ -20,7 +20,7 @@ select @@innodb_file_format; ...@@ -20,7 +20,7 @@ select @@innodb_file_format;
Barracuda Barracuda
set global innodb_file_format=default; set global innodb_file_format=default;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@innodb_file_format; select @@innodb_file_format;
@@innodb_file_format @@innodb_file_format
Barracuda Barracuda
...@@ -33,10 +33,10 @@ select @@innodb_file_format; ...@@ -33,10 +33,10 @@ select @@innodb_file_format;
Barracuda Barracuda
set global innodb_file_format_max=antelope; set global innodb_file_format_max=antelope;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_format_max=barracuda; set global innodb_file_format_max=barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_format_max=cheetah; set global innodb_file_format_max=cheetah;
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'cheetah' ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'cheetah'
select @@innodb_file_format_max; select @@innodb_file_format_max;
...@@ -44,7 +44,7 @@ select @@innodb_file_format_max; ...@@ -44,7 +44,7 @@ select @@innodb_file_format_max;
Barracuda Barracuda
set global innodb_file_format_max=default; set global innodb_file_format_max=default;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@innodb_file_format_max; select @@innodb_file_format_max;
@@innodb_file_format_max @@innodb_file_format_max
Antelope Antelope
...@@ -57,10 +57,10 @@ select @@innodb_file_format_max; ...@@ -57,10 +57,10 @@ select @@innodb_file_format_max;
Antelope Antelope
set global innodb_file_format_max=antelope; set global innodb_file_format_max=antelope;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_format_check=off; set global innodb_file_format_check=off;
ERROR HY000: Variable 'innodb_file_format_check' is a read only variable ERROR HY000: Variable 'innodb_file_format_check' is a read only variable
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
CREATE TABLE worklog5743 ( CREATE TABLE worklog5743 (
col_1_text TEXT(4000) , col_2_text TEXT(4000) , col_1_text TEXT(4000) , col_2_text TEXT(4000) ,
PRIMARY KEY (col_1_text(3072)) PRIMARY KEY (col_1_text(3072))
...@@ -89,4 +89,4 @@ col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500) ...@@ -89,4 +89,4 @@ col_1_text = REPEAT("a", 3500) col_2_text = REPEAT("o", 3500)
DROP TABLE worklog5743; DROP TABLE worklog5743;
SET GLOBAL innodb_large_prefix=1; SET GLOBAL innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
...@@ -8,12 +8,10 @@ ...@@ -8,12 +8,10 @@
-- source include/not_encrypted.inc -- source include/not_encrypted.inc
--disable_query_log --disable_query_log
call mtr.add_suppression("InnoDB: Table `test`.`t1` is corrupted. Please drop the table and recreate."); call mtr.add_suppression("InnoDB: Table `test`\\.`t1` is corrupted\\. Please drop the table and recreate\\.");
call mtr.add_suppression("InnoDB: Cannot open table test/t1 from the internal data dictionary of InnoDB though the .frm file for the table exists. Please refer to http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html for how to resolve the issue."); call mtr.add_suppression("InnoDB: Database page corruption on disk or a failed file read of tablespace test/t1 page");
call mtr.add_suppression("InnoDB: Database page corruption on disk or a failed file read of tablespace test/t1 page \[page id: space=[0-9]+, page number=[0-9]+\]. You may have to recover from a backup."); call mtr.add_suppression("InnoDB: We detected index corruption in an InnoDB type table");
call mtr.add_suppression("InnoDB: We detected index corruption in an InnoDB type table.*"); call mtr.add_suppression("Index for table 't1' is corrupt; try to repair it");
call mtr.add_suppression("mysqld: Index for table 't1' is corrupt; try to repair it");
call mtr.add_suppression("mysqld.exe: Index for table 't1' is corrupt; try to repair it");
--enable_query_log --enable_query_log
--echo # Create and populate the table to be corrupted --echo # Create and populate the table to be corrupted
......
...@@ -284,7 +284,7 @@ Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB ...@@ -284,7 +284,7 @@ Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
SET GLOBAL innodb_file_per_table = ON; SET GLOBAL innodb_file_per_table = ON;
SET GLOBAL innodb_file_format = `Antelope`; SET GLOBAL innodb_file_format = `Antelope`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8; CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8;
Got one of the listed errors Got one of the listed errors
SHOW WARNINGS; SHOW WARNINGS;
...@@ -301,7 +301,7 @@ Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options") ...@@ -301,7 +301,7 @@ Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options")
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
SET GLOBAL innodb_file_format = `Barracuda`; SET GLOBAL innodb_file_format = `Barracuda`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
# Test 7) This series of tests were moved from innodb-index to here # Test 7) This series of tests were moved from innodb-index to here
# because the second alter table t1 assumes a 16k page size. # because the second alter table t1 assumes a 16k page size.
# Moving the test allows the rest of innodb-index to be run on all # Moving the test allows the rest of innodb-index to be run on all
......
...@@ -247,7 +247,7 @@ Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB ...@@ -247,7 +247,7 @@ Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
SET GLOBAL innodb_file_per_table = ON; SET GLOBAL innodb_file_per_table = ON;
SET GLOBAL innodb_file_format = `Antelope`; SET GLOBAL innodb_file_format = `Antelope`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8; CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8;
ERROR HY000: Can't create table `test`.`t4` (errno: 140 "Wrong create options") ERROR HY000: Can't create table `test`.`t4` (errno: 140 "Wrong create options")
SHOW WARNINGS; SHOW WARNINGS;
...@@ -266,7 +266,7 @@ Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options") ...@@ -266,7 +266,7 @@ Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options")
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
SET GLOBAL innodb_file_format = `Barracuda`; SET GLOBAL innodb_file_format = `Barracuda`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
# Test 7) Not included here; 16k only # Test 7) Not included here; 16k only
# Test 8) Test creating a table that could lead to undo log overflow. # Test 8) Test creating a table that could lead to undo log overflow.
CREATE TABLE t1(a blob,b blob,c blob,d blob,e blob,f blob,g blob, CREATE TABLE t1(a blob,b blob,c blob,d blob,e blob,f blob,g blob,
......
...@@ -259,7 +259,7 @@ Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB ...@@ -259,7 +259,7 @@ Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
SET GLOBAL innodb_file_per_table = ON; SET GLOBAL innodb_file_per_table = ON;
SET GLOBAL innodb_file_format = `Antelope`; SET GLOBAL innodb_file_format = `Antelope`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8; CREATE TABLE t4 (id int PRIMARY KEY) ENGINE=innodb KEY_BLOCK_SIZE=8;
ERROR HY000: Can't create table `test`.`t4` (errno: 140 "Wrong create options") ERROR HY000: Can't create table `test`.`t4` (errno: 140 "Wrong create options")
SHOW WARNINGS; SHOW WARNINGS;
...@@ -277,7 +277,7 @@ Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options") ...@@ -277,7 +277,7 @@ Error 1005 Can't create table `test`.`t5` (errno: 140 "Wrong create options")
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
SET GLOBAL innodb_file_format = `Barracuda`; SET GLOBAL innodb_file_format = `Barracuda`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
# Test 7) Not included here; 16k only # Test 7) Not included here; 16k only
# Test 8) Test creating a table that could lead to undo log overflow. # Test 8) Test creating a table that could lead to undo log overflow.
CREATE TABLE t1(a blob,b blob,c blob,d blob,e blob,f blob,g blob, CREATE TABLE t1(a blob,b blob,c blob,d blob,e blob,f blob,g blob,
......
SET default_storage_engine=InnoDB; SET default_storage_engine=InnoDB;
SET GLOBAL innodb_file_format=`Barracuda`; SET GLOBAL innodb_file_format=`Barracuda`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SET GLOBAL innodb_file_per_table=ON; SET GLOBAL innodb_file_per_table=ON;
SET SESSION innodb_strict_mode = ON; SET SESSION innodb_strict_mode = ON;
# Test 1) StrictMode=ON, CREATE and ALTER with each ROW_FORMAT & KEY_BLOCK_SIZE=0 # Test 1) StrictMode=ON, CREATE and ALTER with each ROW_FORMAT & KEY_BLOCK_SIZE=0
...@@ -264,7 +264,7 @@ Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB ...@@ -264,7 +264,7 @@ Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
# and that they can be set to default values during strict mode. # and that they can be set to default values during strict mode.
SET GLOBAL innodb_file_format=Antelope; SET GLOBAL innodb_file_format=Antelope;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
CREATE TABLE t1 ( i INT ) KEY_BLOCK_SIZE=4; CREATE TABLE t1 ( i INT ) KEY_BLOCK_SIZE=4;
Got one of the listed errors Got one of the listed errors
SHOW WARNINGS; SHOW WARNINGS;
...@@ -318,12 +318,12 @@ Warning 1478 InnoDB: ROW_FORMAT=DYNAMIC requires innodb_file_format > Antelope. ...@@ -318,12 +318,12 @@ Warning 1478 InnoDB: ROW_FORMAT=DYNAMIC requires innodb_file_format > Antelope.
Error 1478 Table storage engine 'InnoDB' does not support the create option 'ROW_FORMAT' Error 1478 Table storage engine 'InnoDB' does not support the create option 'ROW_FORMAT'
SET GLOBAL innodb_file_format=Barracuda; SET GLOBAL innodb_file_format=Barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
DROP TABLE t1; DROP TABLE t1;
CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4; CREATE TABLE t1 ( i INT ) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
SET GLOBAL innodb_file_format=Antelope; SET GLOBAL innodb_file_format=Antelope;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
ALTER TABLE t1 ADD COLUMN f1 INT; ALTER TABLE t1 ADD COLUMN f1 INT;
ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ROW_FORMAT' ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ROW_FORMAT'
SHOW WARNINGS; SHOW WARNINGS;
...@@ -344,7 +344,7 @@ SHOW WARNINGS; ...@@ -344,7 +344,7 @@ SHOW WARNINGS;
Level Code Message Level Code Message
SET GLOBAL innodb_file_format=Barracuda; SET GLOBAL innodb_file_format=Barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
# Test 8) StrictMode=ON, Make sure ROW_FORMAT=COMPRESSED # Test 8) StrictMode=ON, Make sure ROW_FORMAT=COMPRESSED
# and a valid non-zero KEY_BLOCK_SIZE are rejected with # and a valid non-zero KEY_BLOCK_SIZE are rejected with
# innodb_file_per_table=OFF and that they can be set to default # innodb_file_per_table=OFF and that they can be set to default
...@@ -754,7 +754,7 @@ TABLE_NAME ROW_FORMAT CREATE_OPTIONS ...@@ -754,7 +754,7 @@ TABLE_NAME ROW_FORMAT CREATE_OPTIONS
t1 Compressed row_format=COMPRESSED key_block_size=1 t1 Compressed row_format=COMPRESSED key_block_size=1
SET GLOBAL innodb_file_format=Antelope; SET GLOBAL innodb_file_format=Antelope;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
ALTER TABLE t1 ADD COLUMN f1 INT; ALTER TABLE t1 ADD COLUMN f1 INT;
Warnings: Warnings:
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_format > Antelope. Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_format > Antelope.
...@@ -772,7 +772,7 @@ TABLE_NAME ROW_FORMAT CREATE_OPTIONS ...@@ -772,7 +772,7 @@ TABLE_NAME ROW_FORMAT CREATE_OPTIONS
t1 Dynamic row_format=COMPRESSED key_block_size=1 t1 Dynamic row_format=COMPRESSED key_block_size=1
SET GLOBAL innodb_file_format=Barracuda; SET GLOBAL innodb_file_format=Barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
ALTER TABLE t1 ADD COLUMN f2 INT; ALTER TABLE t1 ADD COLUMN f2 INT;
SHOW WARNINGS; SHOW WARNINGS;
Level Code Message Level Code Message
...@@ -788,7 +788,7 @@ TABLE_NAME ROW_FORMAT CREATE_OPTIONS ...@@ -788,7 +788,7 @@ TABLE_NAME ROW_FORMAT CREATE_OPTIONS
t1 Dynamic row_format=DYNAMIC t1 Dynamic row_format=DYNAMIC
SET GLOBAL innodb_file_format=Antelope; SET GLOBAL innodb_file_format=Antelope;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
ALTER TABLE t1 ADD COLUMN f1 INT; ALTER TABLE t1 ADD COLUMN f1 INT;
SHOW WARNINGS; SHOW WARNINGS;
Level Code Message Level Code Message
...@@ -797,7 +797,7 @@ TABLE_NAME ROW_FORMAT CREATE_OPTIONS ...@@ -797,7 +797,7 @@ TABLE_NAME ROW_FORMAT CREATE_OPTIONS
t1 Dynamic row_format=DYNAMIC t1 Dynamic row_format=DYNAMIC
SET GLOBAL innodb_file_format=Barracuda; SET GLOBAL innodb_file_format=Barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
ALTER TABLE t1 ADD COLUMN f2 INT; ALTER TABLE t1 ADD COLUMN f2 INT;
SHOW WARNINGS; SHOW WARNINGS;
Level Code Message Level Code Message
...@@ -852,4 +852,4 @@ t1 Dynamic row_format=DYNAMIC ...@@ -852,4 +852,4 @@ t1 Dynamic row_format=DYNAMIC
# Cleanup # Cleanup
DROP TABLE t1; DROP TABLE t1;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
...@@ -96,7 +96,7 @@ create table worklog5743_8(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=8; ...@@ -96,7 +96,7 @@ create table worklog5743_8(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=8;
create table worklog5743_16(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=16; create table worklog5743_16(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=16;
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx1 on worklog5743_1(a2(4000)); create index idx1 on worklog5743_1(a2(4000));
Got one of the listed errors Got one of the listed errors
show warnings; show warnings;
...@@ -105,7 +105,7 @@ Note 1071 Specified key was too long; max key length is 767 bytes ...@@ -105,7 +105,7 @@ Note 1071 Specified key was too long; max key length is 767 bytes
Error 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs Error 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx2 on worklog5743_1(a2(4000)); create index idx2 on worklog5743_1(a2(4000));
Got one of the listed errors Got one of the listed errors
show warnings; show warnings;
...@@ -130,7 +130,7 @@ show warnings; ...@@ -130,7 +130,7 @@ show warnings;
Level Code Message Level Code Message
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SET sql_mode= ''; SET sql_mode= '';
create index idx1 on worklog5743_2(a2(4000)); create index idx1 on worklog5743_2(a2(4000));
Warnings: Warnings:
...@@ -140,7 +140,7 @@ Level Code Message ...@@ -140,7 +140,7 @@ Level Code Message
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx2 on worklog5743_2(a2(4000)); create index idx2 on worklog5743_2(a2(4000));
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
show warnings; show warnings;
...@@ -165,7 +165,7 @@ show warnings; ...@@ -165,7 +165,7 @@ show warnings;
Level Code Message Level Code Message
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx1 on worklog5743_4(a2(4000)); create index idx1 on worklog5743_4(a2(4000));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
...@@ -174,7 +174,7 @@ Level Code Message ...@@ -174,7 +174,7 @@ Level Code Message
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx2 on worklog5743_4(a2(4000)); create index idx2 on worklog5743_4(a2(4000));
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
show warnings; show warnings;
...@@ -199,7 +199,7 @@ show warnings; ...@@ -199,7 +199,7 @@ show warnings;
Level Code Message Level Code Message
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx1 on worklog5743_8(a2(1000)); create index idx1 on worklog5743_8(a2(1000));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
...@@ -208,7 +208,7 @@ Level Code Message ...@@ -208,7 +208,7 @@ Level Code Message
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx2 on worklog5743_8(a2(3073)); create index idx2 on worklog5743_8(a2(3073));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 3072 bytes Note 1071 Specified key was too long; max key length is 3072 bytes
...@@ -239,7 +239,7 @@ show warnings; ...@@ -239,7 +239,7 @@ show warnings;
Level Code Message Level Code Message
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx1 on worklog5743_16(a2(1000)); create index idx1 on worklog5743_16(a2(1000));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
...@@ -248,7 +248,7 @@ Level Code Message ...@@ -248,7 +248,7 @@ Level Code Message
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx2 on worklog5743_16(a2(3073)); create index idx2 on worklog5743_16(a2(3073));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 3072 bytes Note 1071 Specified key was too long; max key length is 3072 bytes
...@@ -285,7 +285,7 @@ insert into worklog5743_8 values(9, repeat("a", 10000), repeat("a", 10000)); ...@@ -285,7 +285,7 @@ insert into worklog5743_8 values(9, repeat("a", 10000), repeat("a", 10000));
insert into worklog5743_16 values(9, repeat("a", 10000), repeat("a", 10000)); insert into worklog5743_16 values(9, repeat("a", 10000), repeat("a", 10000));
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
insert into worklog5743_1 values(2, repeat("b", 10000)); insert into worklog5743_1 values(2, repeat("b", 10000));
insert into worklog5743_2 values(2, repeat("b", 10000)); insert into worklog5743_2 values(2, repeat("b", 10000));
insert into worklog5743_4 values(2, repeat("b", 10000)); insert into worklog5743_4 values(2, repeat("b", 10000));
...@@ -293,7 +293,7 @@ insert into worklog5743_8 values(2, repeat("b", 10000), repeat("b", 10000)); ...@@ -293,7 +293,7 @@ insert into worklog5743_8 values(2, repeat("b", 10000), repeat("b", 10000));
insert into worklog5743_16 values(2, repeat("b", 10000), repeat("b", 10000)); insert into worklog5743_16 values(2, repeat("b", 10000), repeat("b", 10000));
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select a1, left(a2, 20) from worklog5743_1; select a1, left(a2, 20) from worklog5743_1;
a1 left(a2, 20) a1 left(a2, 20)
9 aaaaaaaaaaaaaaaaaaaa 9 aaaaaaaaaaaaaaaaaaaa
......
...@@ -99,7 +99,7 @@ create table worklog5743_2(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=2; ...@@ -99,7 +99,7 @@ create table worklog5743_2(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=2;
create table worklog5743_4(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=4; create table worklog5743_4(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=4;
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx1 on worklog5743_1(a2(4000)); create index idx1 on worklog5743_1(a2(4000));
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 1982. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 1982. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
show warnings; show warnings;
...@@ -124,7 +124,7 @@ show warnings; ...@@ -124,7 +124,7 @@ show warnings;
Level Code Message Level Code Message
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SET sql_mode= ''; SET sql_mode= '';
create index idx1 on worklog5743_2(a2(4000)); create index idx1 on worklog5743_2(a2(4000));
Warnings: Warnings:
...@@ -161,7 +161,7 @@ show warnings; ...@@ -161,7 +161,7 @@ show warnings;
Level Code Message Level Code Message
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx1 on worklog5743_4(a2(4000)); create index idx1 on worklog5743_4(a2(4000));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
...@@ -201,13 +201,13 @@ insert into worklog5743_2 values(9, repeat("a", 10000)); ...@@ -201,13 +201,13 @@ insert into worklog5743_2 values(9, repeat("a", 10000));
insert into worklog5743_4 values(9, repeat("a", 10000)); insert into worklog5743_4 values(9, repeat("a", 10000));
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
insert into worklog5743_1 values(2, repeat("b", 10000)); insert into worklog5743_1 values(2, repeat("b", 10000));
insert into worklog5743_2 values(2, repeat("b", 10000)); insert into worklog5743_2 values(2, repeat("b", 10000));
insert into worklog5743_4 values(2, repeat("b", 10000)); insert into worklog5743_4 values(2, repeat("b", 10000));
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select a1, left(a2, 20) from worklog5743_1; select a1, left(a2, 20) from worklog5743_1;
a1 left(a2, 20) a1 left(a2, 20)
9 aaaaaaaaaaaaaaaaaaaa 9 aaaaaaaaaaaaaaaaaaaa
......
...@@ -100,7 +100,7 @@ create table worklog5743_4(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=4; ...@@ -100,7 +100,7 @@ create table worklog5743_4(a1 int, a2 TEXT not null) KEY_BLOCK_SIZE=4;
create table worklog5743_8(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=8; create table worklog5743_8(a1 int, a2 TEXT, a3 TEXT) KEY_BLOCK_SIZE=8;
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx1 on worklog5743_1(a2(4000)); create index idx1 on worklog5743_1(a2(4000));
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 4030. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 4030. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
show warnings; show warnings;
...@@ -109,7 +109,7 @@ Note 1071 Specified key was too long; max key length is 767 bytes ...@@ -109,7 +109,7 @@ Note 1071 Specified key was too long; max key length is 767 bytes
Error 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 4030. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs Error 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 4030. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx2 on worklog5743_1(a2(4000)); create index idx2 on worklog5743_1(a2(4000));
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 4030. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 4030. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
show warnings; show warnings;
...@@ -134,7 +134,7 @@ show warnings; ...@@ -134,7 +134,7 @@ show warnings;
Level Code Message Level Code Message
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SET sql_mode= ''; SET sql_mode= '';
create index idx1 on worklog5743_2(a2(4000)); create index idx1 on worklog5743_2(a2(4000));
Warnings: Warnings:
...@@ -144,7 +144,7 @@ Level Code Message ...@@ -144,7 +144,7 @@ Level Code Message
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx2 on worklog5743_2(a2(4000)); create index idx2 on worklog5743_2(a2(4000));
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 4030. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 4030. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
show warnings; show warnings;
...@@ -169,7 +169,7 @@ show warnings; ...@@ -169,7 +169,7 @@ show warnings;
Level Code Message Level Code Message
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx1 on worklog5743_4(a2(4000)); create index idx1 on worklog5743_4(a2(4000));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
...@@ -178,7 +178,7 @@ Level Code Message ...@@ -178,7 +178,7 @@ Level Code Message
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx3 on worklog5743_4(a2(1537)); create index idx3 on worklog5743_4(a2(1537));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 1536 bytes Note 1071 Specified key was too long; max key length is 1536 bytes
...@@ -201,7 +201,7 @@ show warnings; ...@@ -201,7 +201,7 @@ show warnings;
Level Code Message Level Code Message
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx1 on worklog5743_8(a2(1000)); create index idx1 on worklog5743_8(a2(1000));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
...@@ -210,7 +210,7 @@ Level Code Message ...@@ -210,7 +210,7 @@ Level Code Message
Note 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create index idx2 on worklog5743_8(a2(3073)); create index idx2 on worklog5743_8(a2(3073));
Warnings: Warnings:
Note 1071 Specified key was too long; max key length is 1536 bytes Note 1071 Specified key was too long; max key length is 1536 bytes
...@@ -238,14 +238,14 @@ insert into worklog5743_4 values(9, repeat("a", 10000)); ...@@ -238,14 +238,14 @@ insert into worklog5743_4 values(9, repeat("a", 10000));
insert into worklog5743_8 values(9, repeat("a", 10000), repeat("a", 10000)); insert into worklog5743_8 values(9, repeat("a", 10000), repeat("a", 10000));
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
insert into worklog5743_1 values(2, repeat("b", 10000)); insert into worklog5743_1 values(2, repeat("b", 10000));
insert into worklog5743_2 values(2, repeat("b", 10000)); insert into worklog5743_2 values(2, repeat("b", 10000));
insert into worklog5743_4 values(2, repeat("b", 10000)); insert into worklog5743_4 values(2, repeat("b", 10000));
insert into worklog5743_8 values(2, repeat("b", 10000), repeat("b", 10000)); insert into worklog5743_8 values(2, repeat("b", 10000), repeat("b", 10000));
set global innodb_large_prefix=1; set global innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select a1, left(a2, 20) from worklog5743_1; select a1, left(a2, 20) from worklog5743_1;
a1 left(a2, 20) a1 left(a2, 20)
9 aaaaaaaaaaaaaaaaaaaa 9 aaaaaaaaaaaaaaaaaaaa
......
...@@ -9,7 +9,7 @@ set session innodb_strict_mode=0; ...@@ -9,7 +9,7 @@ set session innodb_strict_mode=0;
set global innodb_file_per_table=off; set global innodb_file_per_table=off;
set global innodb_file_format=`0`; set global innodb_file_format=`0`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SET @@global.innodb_stats_on_metadata=ON; SET @@global.innodb_stats_on_metadata=ON;
create table t0(a int primary key) engine=innodb row_format=compressed; create table t0(a int primary key) engine=innodb row_format=compressed;
Warnings: Warnings:
...@@ -45,7 +45,7 @@ Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_format > Antelope. ...@@ -45,7 +45,7 @@ Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_format > Antelope.
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=1. Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=1.
set global innodb_file_format=`1`; set global innodb_file_format=`1`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create table t7(a int primary key) engine=innodb create table t7(a int primary key) engine=innodb
key_block_size=1 row_format=redundant; key_block_size=1 row_format=redundant;
Warnings: Warnings:
...@@ -161,13 +161,13 @@ update t1 set c3 = repeat('E', 20000) where c1 = 1; ...@@ -161,13 +161,13 @@ update t1 set c3 = repeat('E', 20000) where c1 = 1;
drop table t1; drop table t1;
set global innodb_file_format=`0`; set global innodb_file_format=`0`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@innodb_file_format; select @@innodb_file_format;
@@innodb_file_format @@innodb_file_format
Antelope Antelope
set global innodb_file_format=`1`; set global innodb_file_format=`1`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@innodb_file_format; select @@innodb_file_format;
@@innodb_file_format @@innodb_file_format
Barracuda Barracuda
...@@ -177,10 +177,10 @@ set global innodb_file_format=`-1`; ...@@ -177,10 +177,10 @@ set global innodb_file_format=`-1`;
ERROR 42000: Variable 'innodb_file_format' can't be set to the value of '-1' ERROR 42000: Variable 'innodb_file_format' can't be set to the value of '-1'
set global innodb_file_format=`Antelope`; set global innodb_file_format=`Antelope`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_format=`Barracuda`; set global innodb_file_format=`Barracuda`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_format=`Cheetah`; set global innodb_file_format=`Cheetah`;
ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'Cheetah' ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'Cheetah'
set global innodb_file_format=`abc`; set global innodb_file_format=`abc`;
...@@ -192,7 +192,7 @@ ERROR 42000: Variable 'innodb_file_format' can't be set to the value of '' ...@@ -192,7 +192,7 @@ ERROR 42000: Variable 'innodb_file_format' can't be set to the value of ''
set global innodb_file_per_table = on; set global innodb_file_per_table = on;
set global innodb_file_format = `1`; set global innodb_file_format = `1`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set innodb_strict_mode = off; set innodb_strict_mode = off;
create table t1 (id int primary key) engine = innodb key_block_size = 0; create table t1 (id int primary key) engine = innodb key_block_size = 0;
drop table t1; drop table t1;
...@@ -328,7 +328,7 @@ drop table t7, t8, t9; ...@@ -328,7 +328,7 @@ drop table t7, t8, t9;
set global innodb_file_per_table = on; set global innodb_file_per_table = on;
set global innodb_file_format = `0`; set global innodb_file_format = `0`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create table t1 (id int primary key) engine = innodb key_block_size = 1; create table t1 (id int primary key) engine = innodb key_block_size = 1;
ERROR HY000: Can't create table `mysqltest_innodb_zip`.`t1` (errno: 140 "Wrong create options") ERROR HY000: Can't create table `mysqltest_innodb_zip`.`t1` (errno: 140 "Wrong create options")
show warnings; show warnings;
...@@ -374,14 +374,14 @@ drop table t8, t9; ...@@ -374,14 +374,14 @@ drop table t8, t9;
set global innodb_file_per_table=1; set global innodb_file_per_table=1;
set global innodb_file_format=Barracuda; set global innodb_file_format=Barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_per_table=on; set global innodb_file_per_table=on;
set global innodb_file_format=`Barracuda`; set global innodb_file_format=`Barracuda`;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_format_max=`Antelope`; set global innodb_file_format_max=`Antelope`;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
create table normal_table ( create table normal_table (
c1 int c1 int
) engine = innodb; ) engine = innodb;
...@@ -396,7 +396,7 @@ select @@innodb_file_format_max; ...@@ -396,7 +396,7 @@ select @@innodb_file_format_max;
Barracuda Barracuda
set global innodb_file_format_max=`Antelope`; set global innodb_file_format_max=`Antelope`;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@innodb_file_format_max; select @@innodb_file_format_max;
@@innodb_file_format_max @@innodb_file_format_max
Antelope Antelope
......
...@@ -111,7 +111,7 @@ drop procedure populate; ...@@ -111,7 +111,7 @@ drop procedure populate;
drop procedure populate_small; drop procedure populate_small;
set global innodb_file_format = Barracuda; set global innodb_file_format = Barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_per_table = 1; set global innodb_file_per_table = 1;
set innodb_strict_mode=OFF; set innodb_strict_mode=OFF;
create procedure populate() create procedure populate()
...@@ -224,7 +224,7 @@ drop procedure populate; ...@@ -224,7 +224,7 @@ drop procedure populate;
drop procedure populate_small; drop procedure populate_small;
set global innodb_file_format = Barracuda; set global innodb_file_format = Barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_per_table = 1; set global innodb_file_per_table = 1;
set innodb_strict_mode=OFF; set innodb_strict_mode=OFF;
create procedure populate() create procedure populate()
...@@ -341,5 +341,5 @@ drop procedure populate; ...@@ -341,5 +341,5 @@ drop procedure populate;
drop procedure populate_small; drop procedure populate_small;
set global innodb_file_format = Barracuda; set global innodb_file_format = Barracuda;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
set global innodb_file_per_table = 1; set global innodb_file_per_table = 1;
...@@ -25,7 +25,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -25,7 +25,7 @@ VARIABLE_NAME VARIABLE_VALUE
INNODB_FILE_FORMAT Barracuda INNODB_FILE_FORMAT Barracuda
set global innodb_file_format='Antelope'; set global innodb_file_format='Antelope';
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@global.innodb_file_format; select @@global.innodb_file_format;
@@global.innodb_file_format @@global.innodb_file_format
Antelope Antelope
...@@ -37,7 +37,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -37,7 +37,7 @@ VARIABLE_NAME VARIABLE_VALUE
INNODB_FILE_FORMAT Antelope INNODB_FILE_FORMAT Antelope
set @@global.innodb_file_format='Barracuda'; set @@global.innodb_file_format='Barracuda';
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@global.innodb_file_format; select @@global.innodb_file_format;
@@global.innodb_file_format @@global.innodb_file_format
Barracuda Barracuda
...@@ -59,7 +59,7 @@ set global innodb_file_format='Salmon'; ...@@ -59,7 +59,7 @@ set global innodb_file_format='Salmon';
ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'Salmon' ERROR 42000: Variable 'innodb_file_format' can't be set to the value of 'Salmon'
SET @@global.innodb_file_format = @start_global_value; SET @@global.innodb_file_format = @start_global_value;
Warnings: Warnings:
Warning 131 Using innodb_file_format 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 Warning 131 Using innodb_file_format is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SELECT @@global.innodb_file_format; SELECT @@global.innodb_file_format;
@@global.innodb_file_format @@global.innodb_file_format
Barracuda Barracuda
...@@ -27,7 +27,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -27,7 +27,7 @@ VARIABLE_NAME VARIABLE_VALUE
INNODB_FILE_FORMAT_MAX Barracuda INNODB_FILE_FORMAT_MAX Barracuda
SET global innodb_file_format_max='Antelope'; SET global innodb_file_format_max='Antelope';
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SELECT @@global.innodb_file_format_max; SELECT @@global.innodb_file_format_max;
@@global.innodb_file_format_max @@global.innodb_file_format_max
Antelope Antelope
...@@ -41,7 +41,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -41,7 +41,7 @@ VARIABLE_NAME VARIABLE_VALUE
INNODB_FILE_FORMAT_MAX Antelope INNODB_FILE_FORMAT_MAX Antelope
SET @@global.innodb_file_format_max='Barracuda'; SET @@global.innodb_file_format_max='Barracuda';
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SELECT @@global.innodb_file_format_max; SELECT @@global.innodb_file_format_max;
@@global.innodb_file_format_max @@global.innodb_file_format_max
Barracuda Barracuda
...@@ -65,7 +65,7 @@ SET global innodb_file_format_max='Salmon'; ...@@ -65,7 +65,7 @@ SET global innodb_file_format_max='Salmon';
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'Salmon' ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'Salmon'
SET @@global.innodb_file_format_max = @start_global_value; SET @@global.innodb_file_format_max = @start_global_value;
Warnings: Warnings:
Warning 131 Using innodb_file_format_max 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 Warning 131 Using innodb_file_format_max is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SELECT @@global.innodb_file_format_max; SELECT @@global.innodb_file_format_max;
@@global.innodb_file_format_max @@global.innodb_file_format_max
Barracuda Barracuda
...@@ -25,7 +25,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -25,7 +25,7 @@ VARIABLE_NAME VARIABLE_VALUE
INNODB_LARGE_PREFIX ON INNODB_LARGE_PREFIX ON
set global innodb_large_prefix='OFF'; set global innodb_large_prefix='OFF';
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@global.innodb_large_prefix; select @@global.innodb_large_prefix;
@@global.innodb_large_prefix @@global.innodb_large_prefix
0 0
...@@ -37,7 +37,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -37,7 +37,7 @@ VARIABLE_NAME VARIABLE_VALUE
INNODB_LARGE_PREFIX OFF INNODB_LARGE_PREFIX OFF
set @@global.innodb_large_prefix=1; set @@global.innodb_large_prefix=1;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@global.innodb_large_prefix; select @@global.innodb_large_prefix;
@@global.innodb_large_prefix @@global.innodb_large_prefix
1 1
...@@ -49,7 +49,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -49,7 +49,7 @@ VARIABLE_NAME VARIABLE_VALUE
INNODB_LARGE_PREFIX ON INNODB_LARGE_PREFIX ON
set global innodb_large_prefix=0; set global innodb_large_prefix=0;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@global.innodb_large_prefix; select @@global.innodb_large_prefix;
@@global.innodb_large_prefix @@global.innodb_large_prefix
0 0
...@@ -61,7 +61,7 @@ VARIABLE_NAME VARIABLE_VALUE ...@@ -61,7 +61,7 @@ VARIABLE_NAME VARIABLE_VALUE
INNODB_LARGE_PREFIX OFF INNODB_LARGE_PREFIX OFF
set @@global.innodb_large_prefix='ON'; set @@global.innodb_large_prefix='ON';
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
select @@global.innodb_large_prefix; select @@global.innodb_large_prefix;
@@global.innodb_large_prefix @@global.innodb_large_prefix
1 1
...@@ -96,7 +96,7 @@ set global innodb_large_prefix='AUTO'; ...@@ -96,7 +96,7 @@ set global innodb_large_prefix='AUTO';
ERROR 42000: Variable 'innodb_large_prefix' can't be set to the value of 'AUTO' ERROR 42000: Variable 'innodb_large_prefix' can't be set to the value of 'AUTO'
SET @@global.innodb_large_prefix = @start_global_value; SET @@global.innodb_large_prefix = @start_global_value;
Warnings: 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 Warning 131 Using innodb_large_prefix is deprecated and the parameter may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/
SELECT @@global.innodb_large_prefix; SELECT @@global.innodb_large_prefix;
@@global.innodb_large_prefix @@global.innodb_large_prefix
1 1
...@@ -4360,11 +4360,7 @@ buf_page_get_gen( ...@@ -4360,11 +4360,7 @@ buf_page_get_gen(
<< ". The most probable cause" << ". The most probable cause"
" of this error may be that the" " of this error may be that the"
" table has been corrupted." " table has been corrupted."
" You can try to fix this" " See https://mariadb.com/kb/en/library/xtradbinnodb-recovery-modes/";
" problem by using"
" innodb_force_recovery."
" Please see " REFMAN " for more"
" details. Aborting...";
} }
#if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG #if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG
......
/***************************************************************************** /*****************************************************************************
Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation. Copyright (c) 2017, 2018, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software the terms of the GNU General Public License as published by the Free Software
...@@ -773,8 +773,9 @@ rtr_page_get_father_node_ptr( ...@@ -773,8 +773,9 @@ rtr_page_get_father_node_ptr(
error << ". You should dump + drop + reimport the table to" error << ". You should dump + drop + reimport the table to"
" fix the corruption. If the crash happens at" " fix the corruption. If the crash happens at"
" database startup, see " REFMAN " database startup, see "
"forcing-innodb-recovery.html about forcing" "https://mariadb.com/kb/en/library/xtradbinnodb-recovery-modes/"
" about forcing"
" recovery. Then dump + drop + reimport."; " recovery. Then dump + drop + reimport.";
} }
......
/***************************************************************************** /*****************************************************************************
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2000, 2017, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2013, 2017, MariaDB Corporation. Copyright (c) 2013, 2018, MariaDB Corporation.
Copyright (c) 2008, 2009 Google Inc. Copyright (c) 2008, 2009 Google Inc.
Copyright (c) 2009, Percona Inc. Copyright (c) 2009, Percona Inc.
Copyright (c) 2012, Facebook Inc. Copyright (c) 2012, Facebook Inc.
...@@ -3654,7 +3654,7 @@ static uint innobase_partition_flags() ...@@ -3654,7 +3654,7 @@ static uint innobase_partition_flags()
#define DEPRECATED_FORMAT_PARAMETER(x) \ #define DEPRECATED_FORMAT_PARAMETER(x) \
"Using " x " is deprecated and the parameter" \ "Using " x " is deprecated and the parameter" \
" may be removed in future releases." \ " may be removed in future releases." \
" See " REFMAN "innodb-file-format.html" " See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/"
/** Deprecation message about innodb_file_format */ /** Deprecation message about innodb_file_format */
static const char* deprecated_file_format static const char* deprecated_file_format
...@@ -22573,7 +22573,8 @@ const char* BUG_REPORT_MSG = ...@@ -22573,7 +22573,8 @@ const char* BUG_REPORT_MSG =
"Submit a detailed bug report to https://jira.mariadb.org/"; "Submit a detailed bug report to https://jira.mariadb.org/";
const char* FORCE_RECOVERY_MSG = const char* FORCE_RECOVERY_MSG =
"Please refer to " REFMAN "forcing-innodb-recovery.html" "Please refer to "
"https://mariadb.com/kb/en/library/xtradbinnodb-recovery-modes/"
" for information about forcing recovery."; " for information about forcing recovery.";
const char* ERROR_CREATING_MSG = const char* ERROR_CREATING_MSG =
...@@ -22581,17 +22582,17 @@ const char* ERROR_CREATING_MSG = ...@@ -22581,17 +22582,17 @@ const char* ERROR_CREATING_MSG =
const char* OPERATING_SYSTEM_ERROR_MSG = const char* OPERATING_SYSTEM_ERROR_MSG =
"Some operating system error numbers are described at" "Some operating system error numbers are described at"
" " REFMAN "operating-system-error-codes.html"; " https://mariadb.com/kb/en/library/operating-system-error-codes/";
const char* FOREIGN_KEY_CONSTRAINTS_MSG = const char* FOREIGN_KEY_CONSTRAINTS_MSG =
"Please refer to " REFMAN "innodb-foreign-key-constraints.html" "Please refer to https://mariadb.com/kb/en/library/foreign-keys/"
" for correct foreign key definition."; " for correct foreign key definition.";
const char* SET_TRANSACTION_MSG = const char* SET_TRANSACTION_MSG =
"Please refer to " REFMAN "set-transaction.html"; "Please refer to https://mariadb.com/kb/en/library/set-transaction/";
const char* INNODB_PARAMETERS_MSG = const char* INNODB_PARAMETERS_MSG =
"Please refer to " REFMAN "innodb-parameters.html"; "Please refer to https://mariadb.com/kb/en/library/xtradbinnodb-server-system-variables/";
/********************************************************************** /**********************************************************************
Converts an identifier from my_charset_filename to UTF-8 charset. Converts an identifier from my_charset_filename to UTF-8 charset.
......
...@@ -842,7 +842,7 @@ recv_find_max_checkpoint_0(log_group_t** max_group, ulint* max_field) ...@@ -842,7 +842,7 @@ recv_find_max_checkpoint_0(log_group_t** max_group, ulint* max_field)
" This redo log was created before MariaDB 10.2.2," " This redo log was created before MariaDB 10.2.2,"
" and we did not find a valid checkpoint." " and we did not find a valid checkpoint."
" Please follow the instructions at" " Please follow the instructions at"
" " REFMAN "upgrading.html"; " https://mariadb.com/kb/en/library/upgrading/";
return(DB_ERROR); return(DB_ERROR);
} }
...@@ -869,7 +869,7 @@ recv_log_format_0_recover(lsn_t lsn) ...@@ -869,7 +869,7 @@ recv_log_format_0_recover(lsn_t lsn)
" This redo log was created before MariaDB 10.2.2"; " This redo log was created before MariaDB 10.2.2";
static const char* NO_UPGRADE_RTFM_MSG = static const char* NO_UPGRADE_RTFM_MSG =
". Please follow the instructions at " ". Please follow the instructions at "
REFMAN "upgrading.html"; "https://mariadb.com/kb/en/library/upgrading/";
fil_io(IORequestLogRead, true, fil_io(IORequestLogRead, true,
page_id_t(SRV_LOG_SPACE_FIRST_ID, page_no), page_id_t(SRV_LOG_SPACE_FIRST_ID, page_no),
......
/***************************************************************************** /*****************************************************************************
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation. Copyright (c) 2017, 2018, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software the terms of the GNU General Public License as published by the Free Software
...@@ -53,7 +53,7 @@ ut_dbg_assertion_failed( ...@@ -53,7 +53,7 @@ ut_dbg_assertion_failed(
" or crashes, even\n" " or crashes, even\n"
"InnoDB: immediately after the mysqld startup, there may be\n" "InnoDB: immediately after the mysqld startup, there may be\n"
"InnoDB: corruption in the InnoDB tablespace. Please refer to\n" "InnoDB: corruption in the InnoDB tablespace. Please refer to\n"
"InnoDB: " REFMAN "forcing-innodb-recovery.html\n" "InnoDB: https://mariadb.com/kb/en/library/xtradbinnodb-recovery-modes/\n"
"InnoDB: about forcing recovery.\n", stderr); "InnoDB: about forcing recovery.\n", stderr);
fflush(stderr); fflush(stderr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment