mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Remove references to innodb_file_format.
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.
This commit is contained in:
@@ -1,144 +0,0 @@
|
||||
#
|
||||
# WL#6501: make truncate table atomic
|
||||
#
|
||||
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_debug.inc
|
||||
|
||||
# Valgrind would complain about memory leaks when we crash on purpose.
|
||||
--source include/not_valgrind.inc
|
||||
# Embedded server does not support crashing
|
||||
--source include/not_embedded.inc
|
||||
# Avoid CrashReporter popup on Mac
|
||||
--source include/not_crashrep.inc
|
||||
|
||||
# suppress expected warnings.
|
||||
call mtr.add_suppression("The file '.*' already exists though the corresponding table did not exist in the InnoDB data dictionary");
|
||||
call mtr.add_suppression("Cannot create file '.*'");
|
||||
call mtr.add_suppression("InnoDB: Error number 17 means 'File exists'");
|
||||
|
||||
################################################################################
|
||||
#
|
||||
# Will test following scenarios:
|
||||
# 1. Hit crash point on completing drop of all indexes before creation of index
|
||||
# is commenced.
|
||||
# 2. Hit crash point after data is updated to system-table and in-memory dict.
|
||||
# 3. Post truncate recovery, abruptly shutdown the server.
|
||||
# On restart ensure table state is maintained.
|
||||
#
|
||||
################################################################################
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
#
|
||||
# create test-bed
|
||||
#
|
||||
|
||||
let $WL6501_TMP_DIR = `select @@tmpdir`;
|
||||
let $WL6501_DATA_DIR = `select @@datadir`;
|
||||
let SEARCH_FILE = $MYSQLTEST_VARDIR/log/my_restart.err;
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
#
|
||||
# 1. Hit crash point on completing drop of all indexes before creation of index
|
||||
# is commenced.
|
||||
#
|
||||
--echo "1. Hit crash point on completing drop of all indexes before creation"
|
||||
--echo " of index is commenced."
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
set innodb_strict_mode=off;
|
||||
--disable_warnings
|
||||
eval create $wl6501_temp table t (
|
||||
i int, f float, c char,
|
||||
primary key pk(i), unique findex(f), index ck(c))
|
||||
engine = innodb row_format = $wl6501_row_fmt
|
||||
key_block_size = $wl6501_kbs;
|
||||
--enable_warnings
|
||||
insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c');
|
||||
select * from t;
|
||||
check table t;
|
||||
#
|
||||
set session debug = "+d,ib_trunc_crash_drop_reinit_done_create_to_start";
|
||||
--source include/expect_crash.inc
|
||||
--error 2013
|
||||
truncate table t;
|
||||
#
|
||||
--source include/start_mysqld.inc
|
||||
|
||||
check table t;
|
||||
select * from t;
|
||||
insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c');
|
||||
select * from t;
|
||||
select * from t where f < 2.5;
|
||||
drop table t;
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
#
|
||||
# 2. Hit crash point after data is updated to system-table and in-memory dict.
|
||||
#
|
||||
--echo "2. Hit crash point after data is updated to system-table and"
|
||||
--echo " in-memory dict."
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
set innodb_strict_mode=off;
|
||||
--disable_warnings
|
||||
eval create $wl6501_temp table t (
|
||||
i int, f float, c char,
|
||||
primary key pk(i), unique findex(f), index ck(c))
|
||||
engine = innodb row_format = $wl6501_row_fmt
|
||||
key_block_size = $wl6501_kbs;
|
||||
--enable_warnings
|
||||
insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c');
|
||||
select * from t;
|
||||
check table t;
|
||||
#
|
||||
set session debug = "+d,ib_trunc_crash_on_updating_dict_sys_info";
|
||||
--source include/expect_crash.inc
|
||||
--error 2013
|
||||
truncate table t;
|
||||
#
|
||||
--source include/start_mysqld.inc
|
||||
check table t;
|
||||
select * from t;
|
||||
insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c');
|
||||
select * from t;
|
||||
select * from t where f < 2.5;
|
||||
drop table t;
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
#
|
||||
# 3. Post truncate recovery, abruptly shutdown the server.
|
||||
# On restart ensure table state is maintained.
|
||||
#
|
||||
--echo "3. Post truncate recovery, abruptly shutdown the server."
|
||||
--echo " On restart ensure table state is maintained."
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
set innodb_strict_mode=off;
|
||||
--disable_warnings
|
||||
eval create $wl6501_temp table t (
|
||||
i int, f float, c char,
|
||||
primary key pk(i), unique findex(f), index ck(c))
|
||||
engine = innodb row_format = $wl6501_row_fmt
|
||||
key_block_size = $wl6501_kbs;
|
||||
--enable_warnings
|
||||
insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c');
|
||||
select * from t;
|
||||
check table t;
|
||||
#
|
||||
set session debug = "+d,ib_trunc_crash_after_redo_log_write_complete";
|
||||
--source include/expect_crash.inc
|
||||
--error 2013
|
||||
truncate table t;
|
||||
#
|
||||
--source include/start_mysqld.inc
|
||||
check table t;
|
||||
select * from t;
|
||||
insert into t values (1, 1.1, 'a'), (2, 2.2, 'b'), (3, 3.3, 'c');
|
||||
#
|
||||
--source include/kill_and_restart_mysqld.inc
|
||||
#
|
||||
check table t;
|
||||
select * from t;
|
||||
select * from t where f < 2.5;
|
||||
drop table t;
|
@@ -44,7 +44,6 @@ set innodb_strict_mode=off;
|
||||
#
|
||||
--echo "1. Error in assigning undo logs for truncate action."
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
--disable_warnings
|
||||
eval create $wl6501_temp table t (
|
||||
i int, f float, c char,
|
||||
@@ -71,7 +70,6 @@ drop table t;
|
||||
#
|
||||
--echo "2. Error while preparing for truncate."
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
--disable_warnings
|
||||
eval create $wl6501_temp table t (
|
||||
i int, f float, c char,
|
||||
@@ -98,7 +96,6 @@ drop table t;
|
||||
#
|
||||
--echo "3. Error while dropping/creating indexes"
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
--disable_warnings
|
||||
eval create $wl6501_temp table t (
|
||||
i int, f float, c char,
|
||||
@@ -122,7 +119,6 @@ drop table t;
|
||||
#
|
||||
#
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
--disable_warnings
|
||||
eval create $wl6501_temp table t (
|
||||
i int, f float, c char,
|
||||
@@ -146,7 +142,6 @@ drop table t;
|
||||
#
|
||||
#
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
--disable_warnings
|
||||
eval create temporary table t (
|
||||
i int, f float, c char,
|
||||
@@ -174,7 +169,6 @@ drop table t;
|
||||
#
|
||||
--echo "4. Error while completing truncate of table involving FTS."
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
--disable_warnings
|
||||
eval create $wl6501_temp table t (i int, f float, c char(100),
|
||||
primary key pk(i), index fk(f), fulltext index ck(c))
|
||||
@@ -203,7 +197,6 @@ drop table t;
|
||||
#
|
||||
--echo "5. Error while updating sys-tables."
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
--disable_warnings
|
||||
eval create $wl6501_temp table t (i int, f float, c char(100),
|
||||
primary key pk(i), index fk(f), fulltext index ck(c))
|
||||
@@ -230,5 +223,4 @@ drop table t;
|
||||
#
|
||||
# remove test-bed
|
||||
#
|
||||
eval set global innodb_file_format = $format;
|
||||
eval set global innodb_file_per_table = $per_table;
|
||||
|
@@ -45,7 +45,6 @@ delimiter ;|
|
||||
# create and load the tables.
|
||||
#
|
||||
eval set global innodb_file_per_table = $wl6501_file_per_table;
|
||||
eval set global innodb_file_format = $wl6501_file_format;
|
||||
--replace_regex /[0-9]+/NUMBER/
|
||||
eval create table t1
|
||||
(i int, c1 char(100), c2 char(100),
|
||||
|
@@ -1,5 +1 @@
|
||||
call mtr.add_suppression("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_file_format='Barracuda';
|
||||
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
|
||||
SET GLOBAL innodb_file_per_table=ON;
|
||||
|
@@ -1,7 +1,3 @@
|
||||
SET GLOBAL innodb_file_format='Barracuda';
|
||||
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
|
||||
SET GLOBAL innodb_file_per_table=on;
|
||||
CREATE TABLE bug52745 (
|
||||
a2 int(10) unsigned DEFAULT NULL,
|
||||
col37 time DEFAULT NULL,
|
||||
@@ -128,7 +124,3 @@ Warning 1264 Out of range value for column 'col78' at row 1
|
||||
Warning 1265 Data truncated for column 'col79' at row 1
|
||||
Warning 1264 Out of range value for column 'col84' at row 1
|
||||
DROP TABLE bug52745;
|
||||
SET GLOBAL innodb_file_format=Barracuda;
|
||||
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
|
||||
SET GLOBAL innodb_file_per_table=1;
|
||||
|
@@ -1,7 +1,3 @@
|
||||
SET GLOBAL innodb_file_format='Barracuda';
|
||||
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
|
||||
SET GLOBAL innodb_file_per_table=on;
|
||||
SET GLOBAL innodb_strict_mode=on;
|
||||
set old_alter_table=0;
|
||||
CREATE TABLE bug53591(a text charset utf8 not null)
|
||||
@@ -12,8 +8,4 @@ SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Error 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is {checked_valid}. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
|
||||
DROP TABLE bug53591;
|
||||
SET GLOBAL innodb_file_format=Barracuda;
|
||||
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
|
||||
SET GLOBAL innodb_file_per_table=1;
|
||||
SET GLOBAL innodb_strict_mode=DEFAULT;
|
||||
|
@@ -1,8 +1,4 @@
|
||||
SET GLOBAL tx_isolation='REPEATABLE-READ';
|
||||
SET GLOBAL innodb_file_format=Barracuda;
|
||||
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
|
||||
SET GLOBAL innodb_file_per_table=on;
|
||||
CREATE TABLE bug56680(
|
||||
a INT AUTO_INCREMENT PRIMARY KEY,
|
||||
b CHAR(1),
|
||||
@@ -121,5 +117,3 @@ Table Op Msg_type Msg_text
|
||||
test.bug56680_2 check status OK
|
||||
DROP TABLE bug56680_2;
|
||||
DROP TABLE bug56680;
|
||||
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
|
||||
|
@@ -1,9 +1,5 @@
|
||||
SET default_storage_engine=InnoDB;
|
||||
call mtr.add_suppression("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_file_format="Barracuda";
|
||||
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
|
||||
set global innodb_file_per_table=1;
|
||||
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
|
||||
@@ -491,6 +487,7 @@ connection con1;
|
||||
select a = repeat("a", 20000) from worklog5743;
|
||||
a = repeat("a", 20000)
|
||||
1
|
||||
disconnect con1;
|
||||
connection con2;
|
||||
SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
|
||||
select @@session.tx_isolation;
|
||||
@@ -500,6 +497,7 @@ select a = repeat("x", 25000) from worklog5743;
|
||||
a = repeat("x", 25000)
|
||||
1
|
||||
1
|
||||
disconnect con2;
|
||||
connection default;
|
||||
rollback;
|
||||
drop table worklog5743;
|
||||
@@ -529,16 +527,7 @@ create index idx on worklog5743(a(768));
|
||||
ERROR HY000: Index column size too large. The maximum column size is 767 bytes
|
||||
create index idx2 on worklog5743(a(767));
|
||||
drop table worklog5743;
|
||||
SET GLOBAL innodb_file_format=Barracuda;
|
||||
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
|
||||
SET GLOBAL innodb_file_per_table=1;
|
||||
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
|
||||
SET GLOBAL innodb_strict_mode = DEFAULT;
|
||||
connection con1;
|
||||
disconnect con1;
|
||||
connection con2;
|
||||
disconnect con2;
|
||||
connection default;
|
||||
|
@@ -5,9 +5,6 @@ set global innodb_file_per_table = on;
|
||||
"1. Hit crash point while writing redo log."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -44,9 +41,6 @@ drop table t;
|
||||
"2. Hit crash point on completion of redo log write."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -86,9 +80,6 @@ drop table t;
|
||||
"3. Hit crash point while dropping indexes."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -127,9 +118,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -168,9 +156,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -211,9 +196,6 @@ drop table t;
|
||||
" of index is commenced."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -253,9 +235,6 @@ drop table t;
|
||||
"5. Hit crash point while creating indexes."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -294,9 +273,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -335,9 +311,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -378,9 +351,6 @@ drop table t;
|
||||
" in-memory dict."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -420,9 +390,6 @@ drop table t;
|
||||
"7. Hit crash point before/after log checkpoint is done."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -456,9 +423,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -495,7 +459,4 @@ i f c
|
||||
1 1.1 a
|
||||
2 2.2 b
|
||||
drop table t;
|
||||
set global innodb_file_format = Barracuda;
|
||||
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
|
||||
set global innodb_file_per_table = 1;
|
||||
|
@@ -5,9 +5,6 @@ set global innodb_file_per_table = on;
|
||||
"1. Hit crash point while writing redo log."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -24,9 +21,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_while_writing_redo_log";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -43,9 +41,6 @@ drop table t;
|
||||
"2. Hit crash point on completion of redo log write."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -62,9 +57,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_after_redo_log_write_complete";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -84,9 +80,6 @@ drop table t;
|
||||
"3. Hit crash point while dropping indexes."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -103,9 +96,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_drop_of_clust_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -124,9 +118,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -143,9 +134,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_drop_of_uniq_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -164,9 +156,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -183,9 +172,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_drop_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -206,9 +196,6 @@ drop table t;
|
||||
" of index is commenced."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -225,9 +212,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_drop_reinit_done_create_to_start";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -247,9 +235,6 @@ drop table t;
|
||||
"5. Hit crash point while creating indexes."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -266,9 +251,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_create_of_clust_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -287,9 +273,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -306,9 +289,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_create_of_uniq_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -327,9 +311,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -346,9 +327,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_create_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -369,9 +351,6 @@ drop table t;
|
||||
" in-memory dict."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -388,9 +367,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_updating_dict_sys_info";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -410,9 +390,6 @@ drop table t;
|
||||
"7. Hit crash point before/after log checkpoint is done."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -429,9 +406,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_before_log_removal";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -445,9 +423,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -464,9 +439,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -483,18 +459,16 @@ i f c
|
||||
1 1.1 a
|
||||
2 2.2 b
|
||||
drop table t;
|
||||
set global innodb_file_format = Barracuda;
|
||||
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
|
||||
set global innodb_file_per_table = 1;
|
||||
call mtr.add_suppression("does not exist in the InnoDB internal");
|
||||
Warnings:
|
||||
Error 145 Table './mtr/test_suppressions' is marked as crashed and should be repaired
|
||||
Error 1194 Table 'test_suppressions' is marked as crashed and should be repaired
|
||||
Error 1034 1 client is using or hasn't closed the table properly
|
||||
set global innodb_file_per_table = on;
|
||||
"1. Hit crash point on completing drop of all indexes before creation"
|
||||
" of index is commenced."
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
set innodb_strict_mode=off;
|
||||
create temporary table t (
|
||||
i int, f float, c char,
|
||||
@@ -511,9 +485,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_drop_reinit_done_create_to_start";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check Error Table 'test.t' doesn't exist
|
||||
@@ -521,9 +496,6 @@ test.t check status Operation failed
|
||||
"2. Hit crash point after data is updated to system-table and"
|
||||
" in-memory dict."
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
set innodb_strict_mode=off;
|
||||
create temporary table t (
|
||||
i int, f float, c char,
|
||||
@@ -540,14 +512,11 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_updating_dict_sys_info";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check Error Table 'test.t' doesn't exist
|
||||
test.t check status Operation failed
|
||||
set global innodb_file_format = Barracuda;
|
||||
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
|
||||
set global innodb_file_per_table = 1;
|
||||
|
@@ -5,9 +5,6 @@ set global innodb_file_per_table = on;
|
||||
"1. Hit crash point while writing redo log."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -24,9 +21,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_while_writing_redo_log";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -43,9 +41,6 @@ drop table t;
|
||||
"2. Hit crash point on completion of redo log write."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -62,9 +57,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_after_redo_log_write_complete";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -84,9 +80,6 @@ drop table t;
|
||||
"3. Hit crash point while dropping indexes."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -103,9 +96,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_drop_of_clust_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -124,9 +118,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -143,9 +134,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_drop_of_uniq_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -164,9 +156,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -183,9 +172,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_drop_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -206,9 +196,6 @@ drop table t;
|
||||
" of index is commenced."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -225,9 +212,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_drop_reinit_done_create_to_start";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -247,9 +235,6 @@ drop table t;
|
||||
"5. Hit crash point while creating indexes."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -266,9 +251,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_create_of_clust_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -287,9 +273,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -306,9 +289,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_create_of_uniq_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -327,9 +311,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -346,9 +327,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_create_of_sec_index";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -369,9 +351,6 @@ drop table t;
|
||||
" in-memory dict."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -388,9 +367,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_on_updating_dict_sys_info";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -410,9 +390,6 @@ drop table t;
|
||||
"7. Hit crash point before/after log checkpoint is done."
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -429,9 +406,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_before_log_removal";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -445,9 +423,6 @@ i f c
|
||||
drop table t;
|
||||
use test;
|
||||
set global innodb_file_per_table = 1;
|
||||
set global innodb_file_format = 'Barracuda';
|
||||
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
|
||||
SET innodb_strict_mode=OFF;
|
||||
create table t (
|
||||
i int, f float, c char,
|
||||
@@ -464,9 +439,10 @@ check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
set session debug = "+d,ib_trunc_crash_after_truncate_done";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
truncate table t;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
# restart
|
||||
check table t;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t check status OK
|
||||
@@ -483,7 +459,4 @@ i f c
|
||||
1 1.1 a
|
||||
2 2.2 b
|
||||
drop table t;
|
||||
set global innodb_file_format = Barracuda;
|
||||
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
|
||||
set global innodb_file_per_table = 1;
|
||||
|
@@ -41,6 +41,7 @@ engine=innodb row_format=compact
|
||||
key_block_size=16;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE is ignored for TEMPORARY TABLE.
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=16.
|
||||
select count(*) from t1;
|
||||
count(*)
|
||||
0
|
||||
@@ -63,8 +64,6 @@ select count(*) from t3;
|
||||
count(*)
|
||||
5000
|
||||
truncate table t1;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=16 unless ROW_FORMAT=COMPRESSED.
|
||||
select count(*) from t1;
|
||||
count(*)
|
||||
0
|
||||
@@ -85,12 +84,7 @@ select count(*) from t3;
|
||||
count(*)
|
||||
7000
|
||||
truncate table t2;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=16 unless ROW_FORMAT=COMPRESSED.
|
||||
# WL#7811/WL#7743/WL#7141 TODO: Remove the warnings!
|
||||
truncate table t3;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE is ignored for TEMPORARY TABLE.
|
||||
select count(*) from t1;
|
||||
count(*)
|
||||
2000
|
||||
@@ -115,6 +109,9 @@ drop table t2;
|
||||
drop table t3;
|
||||
drop procedure populate;
|
||||
drop procedure populate_small;
|
||||
set global innodb_file_format = Barracuda;
|
||||
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
|
||||
set global innodb_file_per_table = 1;
|
||||
set innodb_strict_mode=OFF;
|
||||
create procedure populate()
|
||||
@@ -155,6 +152,7 @@ engine=innodb row_format=compressed
|
||||
key_block_size=16;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE is ignored for TEMPORARY TABLE.
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=16.
|
||||
Warning 1478 InnoDB: ROW_FORMAT=COMPRESSED is ignored for TEMPORARY TABLE.
|
||||
Warning 1478 InnoDB: assuming ROW_FORMAT=DYNAMIC.
|
||||
select count(*) from t1;
|
||||
@@ -199,12 +197,7 @@ select count(*) from t3;
|
||||
count(*)
|
||||
7000
|
||||
truncate table t2;
|
||||
# WL#7811/WL#7743/WL#7141 TODO: Remove the warnings!
|
||||
truncate table t3;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE is ignored for TEMPORARY TABLE.
|
||||
Warning 1478 InnoDB: ROW_FORMAT=COMPRESSED is ignored for TEMPORARY TABLE.
|
||||
Warning 1478 InnoDB: assuming ROW_FORMAT=DYNAMIC.
|
||||
select count(*) from t1;
|
||||
count(*)
|
||||
2000
|
||||
@@ -229,6 +222,9 @@ drop table t2;
|
||||
drop table t3;
|
||||
drop procedure populate;
|
||||
drop procedure populate_small;
|
||||
set global innodb_file_format = Barracuda;
|
||||
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
|
||||
set global innodb_file_per_table = 1;
|
||||
set innodb_strict_mode=OFF;
|
||||
create procedure populate()
|
||||
@@ -275,6 +271,7 @@ engine=innodb row_format=compact
|
||||
key_block_size=16;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE is ignored for TEMPORARY TABLE.
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=16.
|
||||
select count(*) from t1;
|
||||
count(*)
|
||||
0
|
||||
@@ -297,9 +294,6 @@ select count(*) from t3;
|
||||
count(*)
|
||||
5000
|
||||
truncate table t1;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_per_table.
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=16.
|
||||
select count(*) from t1;
|
||||
count(*)
|
||||
0
|
||||
@@ -320,13 +314,7 @@ select count(*) from t3;
|
||||
count(*)
|
||||
7000
|
||||
truncate table t2;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE requires innodb_file_per_table.
|
||||
Warning 1478 InnoDB: ignoring KEY_BLOCK_SIZE=16.
|
||||
# WL#7811/WL#7743/WL#7141 TODO: Remove the warnings!
|
||||
truncate table t3;
|
||||
Warnings:
|
||||
Warning 1478 InnoDB: KEY_BLOCK_SIZE is ignored for TEMPORARY TABLE.
|
||||
select count(*) from t1;
|
||||
count(*)
|
||||
2000
|
||||
@@ -351,4 +339,7 @@ drop table t2;
|
||||
drop table t3;
|
||||
drop procedure populate;
|
||||
drop procedure populate_small;
|
||||
set global innodb_file_format = Barracuda;
|
||||
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
|
||||
set global innodb_file_per_table = 1;
|
||||
|
@@ -6,11 +6,6 @@
|
||||
|
||||
call mtr.add_suppression("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.");
|
||||
|
||||
let $file_format=`select @@innodb_file_format`;
|
||||
let $file_per_table=`select @@innodb_file_per_table`;
|
||||
SET GLOBAL innodb_file_format='Barracuda';
|
||||
SET GLOBAL innodb_file_per_table=ON;
|
||||
|
||||
#
|
||||
# The following is copied from http://bugs.mysql.com/36169
|
||||
# (http://bugs.mysql.com/file.php?id=9121)
|
||||
@@ -1156,6 +1151,3 @@ DROP TABLE IF EXISTS table3;
|
||||
DROP TABLE IF EXISTS table4;
|
||||
DROP TABLE IF EXISTS table5;
|
||||
DROP TABLE IF EXISTS table6;
|
||||
|
||||
EVAL SET GLOBAL innodb_file_format=$file_format;
|
||||
EVAL SET GLOBAL innodb_file_per_table=$file_per_table;
|
||||
|
@@ -14,17 +14,9 @@ SET storage_engine=InnoDB;
|
||||
-- disable_query_log
|
||||
-- disable_result_log
|
||||
|
||||
let $file_format=`select @@innodb_file_format`;
|
||||
let $file_per_table=`select @@innodb_file_per_table`;
|
||||
SET GLOBAL innodb_file_format='Barracuda';
|
||||
SET GLOBAL innodb_file_per_table=on;
|
||||
|
||||
DROP TABLE IF EXISTS `table0`;
|
||||
CREATE TABLE `table0` ( `col0` tinyint(1) DEFAULT NULL, `col1` tinyint(1) DEFAULT NULL, `col2` tinyint(4) DEFAULT NULL, `col3` date DEFAULT NULL, `col4` time DEFAULT NULL, `col5` set('test1','test2','test3') DEFAULT NULL, `col6` time DEFAULT NULL, `col7` text, `col8` decimal(10,0) DEFAULT NULL, `col9` set('test1','test2','test3') DEFAULT NULL, `col10` float DEFAULT NULL, `col11` double DEFAULT NULL, `col12` enum('test1','test2','test3') DEFAULT NULL, `col13` tinyblob, `col14` year(4) DEFAULT NULL, `col15` set('test1','test2','test3') DEFAULT NULL, `col16` decimal(10,0) DEFAULT NULL, `col17` decimal(10,0) DEFAULT NULL, `col18` blob, `col19` datetime DEFAULT NULL, `col20` double DEFAULT NULL, `col21` decimal(10,0) DEFAULT NULL, `col22` datetime DEFAULT NULL, `col23` decimal(10,0) DEFAULT NULL, `col24` decimal(10,0) DEFAULT NULL, `col25` longtext, `col26` tinyblob, `col27` time DEFAULT NULL, `col28` tinyblob, `col29` enum('test1','test2','test3') DEFAULT NULL, `col30` smallint(6) DEFAULT NULL, `col31` double DEFAULT NULL, `col32` float DEFAULT NULL, `col33` char(175) DEFAULT NULL, `col34` tinytext, `col35` tinytext, `col36` tinyblob, `col37` tinyblob, `col38` tinytext, `col39` mediumblob, `col40` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `col41` double DEFAULT NULL, `col42` smallint(6) DEFAULT NULL, `col43` longblob, `col44` varchar(80) DEFAULT NULL, `col45` mediumtext, `col46` decimal(10,0) DEFAULT NULL, `col47` bigint(20) DEFAULT NULL, `col48` date DEFAULT NULL, `col49` tinyblob, `col50` date DEFAULT NULL, `col51` tinyint(1) DEFAULT NULL, `col52` mediumint(9) DEFAULT NULL, `col53` float DEFAULT NULL, `col54` tinyblob, `col55` longtext, `col56` smallint(6) DEFAULT NULL, `col57` enum('test1','test2','test3') DEFAULT NULL, `col58` datetime DEFAULT NULL, `col59` mediumtext, `col60` varchar(232) DEFAULT NULL, `col61` decimal(10,0) DEFAULT NULL, `col62` year(4) DEFAULT NULL, `col63` smallint(6) DEFAULT NULL, `col64` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `col65` blob, `col66` longblob, `col67` int(11) DEFAULT NULL, `col68` longtext, `col69` enum('test1','test2','test3') DEFAULT NULL, `col70` int(11) DEFAULT NULL, `col71` time DEFAULT NULL, `col72` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `col73` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `col74` varchar(170) DEFAULT NULL, `col75` set('test1','test2','test3') DEFAULT NULL, `col76` tinyblob, `col77` bigint(20) DEFAULT NULL, `col78` decimal(10,0) DEFAULT NULL, `col79` datetime DEFAULT NULL, `col80` year(4) DEFAULT NULL, `col81` decimal(10,0) DEFAULT NULL, `col82` longblob, `col83` text, `col84` char(83) DEFAULT NULL, `col85` decimal(10,0) DEFAULT NULL, `col86` float DEFAULT NULL, `col87` int(11) DEFAULT NULL, `col88` varchar(145) DEFAULT NULL, `col89` date DEFAULT NULL, `col90` decimal(10,0) DEFAULT NULL, `col91` decimal(10,0) DEFAULT NULL, `col92` mediumblob, `col93` time DEFAULT NULL, KEY `idx0` (`col69`,`col90`,`col8`), KEY `idx1` (`col60`), KEY `idx2` (`col60`,`col70`,`col74`), KEY `idx3` (`col22`,`col32`,`col72`,`col30`), KEY `idx4` (`col29`), KEY `idx5` (`col19`,`col45`(143)), KEY `idx6` (`col46`,`col48`,`col5`,`col39`(118)), KEY `idx7` (`col48`,`col61`), KEY `idx8` (`col93`), KEY `idx9` (`col31`), KEY `idx10` (`col30`,`col21`), KEY `idx11` (`col67`), KEY `idx12` (`col44`,`col6`,`col8`,`col38`(226)), KEY `idx13` (`col71`,`col41`,`col15`,`col49`(88)), KEY `idx14` (`col78`), KEY `idx15` (`col63`,`col67`,`col64`), KEY `idx16` (`col17`,`col86`), KEY `idx17` (`col77`,`col56`,`col10`,`col55`(24)), KEY `idx18` (`col62`), KEY `idx19` (`col31`,`col57`,`col56`,`col53`), KEY `idx20` (`col46`), KEY `idx21` (`col83`(54)), KEY `idx22` (`col51`,`col7`(120)), KEY `idx23` (`col7`(163),`col31`,`col71`,`col14`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2;
|
||||
insert ignore into `table0` set `col23` = 7887371.5084383683, `col24` = 4293854615.6906948000, `col25` = 'vitalist', `col26` = 'widespread', `col27` = '3570490', `col28` = 'habitual', `col30` = -5471, `col31` = 4286985783.6771750000, `col32` = 6354540.9826654866, `col33` = 'defoliation', `col34` = 'logarithms', `col35` = 'tegument\'s', `col36` = 'scouting\'s', `col37` = 'intermittency', `col38` = 'elongates', `col39` = 'prophecies', `col40` = '20560103035939', `col41` = 4292809130.0544143000, `col42` = 22057, `col43` = 'Hess\'s', `col44` = 'bandstand', `col45` = 'phenylketonuria', `col46` = 6338767.4018677324, `col47` = 5310247, `col48` = '12592418', `col49` = 'churchman\'s', `col50` = '32226125', `col51` = -58, `col52` = -6207968, `col53` = 1244839.3255104220, `col54` = 'robotized', `col55` = 'monotonous', `col56` = -26909, `col58` = '20720107023550', `col59` = 'suggestiveness\'s', `col60` = 'gemology', `col61` = 4287800670.2229986000, `col62` = '1944', `col63` = -16827, `col64` = '20700107212324', `col65` = 'Nicolais', `col66` = 'apteryx', `col67` = 6935317, `col68` = 'stroganoff', `col70` = 3316430, `col71` = '3277608', `col72` = '19300511045918', `col73` = '20421201003327', `col74` = 'attenuant', `col75` = '15173', `col76` = 'upstroke\'s', `col77` = 8118987, `col78` = 6791516.2735374002, `col79` = '20780701144624', `col80` = '2134', `col81` = 4290682351.3127537000, `col82` = 'unexplainably', `col83` = 'Storm', `col84` = 'Greyso\'s', `col85` = 4289119212.4306774000, `col86` = 7617575.8796655172, `col87` = -6325335, `col88` = 'fondue\'s', `col89` = '40608940', `col90` = 1659421.8093508712, `col91` = 8346904.6584368423, `col92` = 'reloads', `col93` = '5188366';
|
||||
CHECK TABLE table0 EXTENDED;
|
||||
INSERT IGNORE INTO `table0` SET `col19` = '19940127002709', `col20` = 2383927.9055146948, `col21` = 4293243420.5621204000, `col22` = '20511211123705', `col23` = 4289899778.6573381000, `col24` = 4293449279.0540481000, `col25` = 'emphysemic', `col26` = 'dentally', `col27` = '2347406', `col28` = 'eruct', `col30` = 1222, `col31` = 4294372994.9941406000, `col32` = 4291385574.1173744000, `col33` = 'borrowing\'s', `col34` = 'septics', `col35` = 'ratter\'s', `col36` = 'Kaye', `col37` = 'Florentia', `col38` = 'allium', `col39` = 'barkeep', `col40` = '19510407003441', `col41` = 4293559200.4215522000, `col42` = 22482, `col43` = 'decussate', `col44` = 'Brom\'s', `col45` = 'violated', `col46` = 4925506.4635456400, `col47` = 930549, `col48` = '51296066', `col49` = 'voluminously', `col50` = '29306676', `col51` = -88, `col52` = -2153690, `col53` = 4290250202.1464887000, `col54` = 'expropriation', `col55` = 'Aberdeen\'s', `col56` = 20343, `col58` = '19640415171532', `col59` = 'extern', `col60` = 'Ubana', `col61` = 4290487961.8539081000, `col62` = '2147', `col63` = -24271, `col64` = '20750801194548', `col65` = 'Cunaxa\'s', `col66` = 'pasticcio', `col67` = 2795817, `col68` = 'Indore\'s', `col70` = 6864127, `col71` = '1817832', `col72` = '20540506114211', `col73` = '20040101012300', `col74` = 'rationalized', `col75` = '45522', `col76` = 'indene', `col77` = -6964559, `col78` = 4247535.5266884370, `col79` = '20720416124357', `col80` = '2143', `col81` = 4292060102.4466386000, `col82` = 'striving', `col83` = 'boneblack\'s', `col84` = 'redolent', `col85` = 6489697.9009369183, `col86` = 4287473465.9731131000, `col87` = 7726015, `col88` = 'perplexed', `col89` = '17153791', `col90` = 5478587.1108127078, `col91` = 4287091404.7004304000, `col92` = 'Boulez\'s', `col93` = '2931278';
|
||||
CHECK TABLE table0 EXTENDED;
|
||||
DROP TABLE table0;
|
||||
EVAL SET GLOBAL innodb_file_format=$file_format;
|
||||
EVAL SET GLOBAL innodb_file_per_table=$file_per_table;
|
||||
|
@@ -1,10 +1,5 @@
|
||||
-- source include/have_innodb.inc
|
||||
|
||||
let $file_format=`select @@innodb_file_format`;
|
||||
let $file_per_table=`select @@innodb_file_per_table`;
|
||||
SET GLOBAL innodb_file_format='Barracuda';
|
||||
SET GLOBAL innodb_file_per_table=on;
|
||||
|
||||
CREATE TABLE bug52745 (
|
||||
a2 int(10) unsigned DEFAULT NULL,
|
||||
col37 time DEFAULT NULL,
|
||||
@@ -102,6 +97,3 @@ col90=repeat('gale',48);
|
||||
SHOW WARNINGS;
|
||||
|
||||
DROP TABLE bug52745;
|
||||
|
||||
EVAL SET GLOBAL innodb_file_format=$file_format;
|
||||
EVAL SET GLOBAL innodb_file_per_table=$file_per_table;
|
||||
|
@@ -1,10 +1,5 @@
|
||||
-- source include/have_innodb.inc
|
||||
|
||||
let $file_format=`select @@innodb_file_format`;
|
||||
let $file_per_table=`select @@innodb_file_per_table`;
|
||||
|
||||
SET GLOBAL innodb_file_format='Barracuda';
|
||||
SET GLOBAL innodb_file_per_table=on;
|
||||
SET GLOBAL innodb_strict_mode=on;
|
||||
set old_alter_table=0;
|
||||
|
||||
@@ -18,6 +13,4 @@ SHOW WARNINGS;
|
||||
|
||||
DROP TABLE bug53591;
|
||||
|
||||
EVAL SET GLOBAL innodb_file_format=$file_format;
|
||||
EVAL SET GLOBAL innodb_file_per_table=$file_per_table;
|
||||
SET GLOBAL innodb_strict_mode=DEFAULT;
|
||||
|
@@ -4,8 +4,6 @@
|
||||
#
|
||||
-- disable_query_log
|
||||
SET @tx_isolation_orig = @@tx_isolation;
|
||||
SET @innodb_file_per_table_orig = @@innodb_file_per_table;
|
||||
SET @innodb_file_format_orig = @@innodb_file_format;
|
||||
# The flag innodb_change_buffering_debug is only available in debug builds.
|
||||
# It instructs InnoDB to try to evict pages from the buffer pool when
|
||||
# change buffering is possible, so that the change buffer will be used
|
||||
@@ -16,8 +14,6 @@ SET @innodb_change_buffering_debug_orig = @@innodb_change_buffering_debug;
|
||||
SET GLOBAL innodb_change_buffering_debug = 1;
|
||||
-- enable_query_log
|
||||
SET GLOBAL tx_isolation='REPEATABLE-READ';
|
||||
SET GLOBAL innodb_file_format=Barracuda;
|
||||
SET GLOBAL innodb_file_per_table=on;
|
||||
|
||||
CREATE TABLE bug56680(
|
||||
a INT AUTO_INCREMENT PRIMARY KEY,
|
||||
@@ -133,7 +129,5 @@ DROP TABLE bug56680;
|
||||
|
||||
-- disable_query_log
|
||||
SET GLOBAL tx_isolation = @tx_isolation_orig;
|
||||
SET GLOBAL innodb_file_per_table = @innodb_file_per_table_orig;
|
||||
SET GLOBAL innodb_file_format = @innodb_file_format_orig;
|
||||
-- error 0, ER_UNKNOWN_SYSTEM_VARIABLE
|
||||
SET GLOBAL innodb_change_buffering_debug = @innodb_change_buffering_debug_orig;
|
||||
|
@@ -6,12 +6,8 @@ SET default_storage_engine=InnoDB;
|
||||
|
||||
call mtr.add_suppression("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.");
|
||||
|
||||
let $innodb_file_format_orig=`select @@innodb_file_format`;
|
||||
let $innodb_file_per_table_orig=`select @@innodb_file_per_table`;
|
||||
let $innodb_large_prefix_orig=`select @@innodb_large_prefix`;
|
||||
|
||||
set global innodb_file_format="Barracuda";
|
||||
set global innodb_file_per_table=1;
|
||||
set global innodb_large_prefix=1;
|
||||
set global innodb_strict_mode=1;
|
||||
|
||||
@@ -391,11 +387,13 @@ update worklog5743 set a = (repeat("x", 25000));
|
||||
select @@session.tx_isolation;
|
||||
--connection con1
|
||||
select a = repeat("a", 20000) from worklog5743;
|
||||
--disconnect con1
|
||||
|
||||
--connection con2
|
||||
SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
|
||||
select @@session.tx_isolation;
|
||||
select a = repeat("x", 25000) from worklog5743;
|
||||
--disconnect con2
|
||||
|
||||
--connection default
|
||||
rollback;
|
||||
@@ -427,16 +425,5 @@ create index idx on worklog5743(a(768));
|
||||
create index idx2 on worklog5743(a(767));
|
||||
drop table worklog5743;
|
||||
|
||||
|
||||
eval SET GLOBAL innodb_file_format=$innodb_file_format_orig;
|
||||
eval SET GLOBAL innodb_file_per_table=$innodb_file_per_table_orig;
|
||||
eval SET GLOBAL innodb_large_prefix=$innodb_large_prefix_orig;
|
||||
SET GLOBAL innodb_strict_mode = DEFAULT;
|
||||
--connection con1
|
||||
--disconnect con1
|
||||
--source include/wait_until_disconnected.inc
|
||||
--connection con2
|
||||
--disconnect con2
|
||||
--source include/wait_until_disconnected.inc
|
||||
--connection default
|
||||
|
||||
|
@@ -21,6 +21,5 @@
|
||||
let $wl6501_file_per_table = 1;
|
||||
let $wl6501_row_fmt = compressed;
|
||||
let $wl6501_kbs = 16;
|
||||
let $wl6501_file_format = 'Barracuda';
|
||||
--source suite/innodb/include/innodb_wl6501_crash.inc
|
||||
|
||||
|
@@ -21,9 +21,7 @@
|
||||
let $wl6501_file_per_table = 1;
|
||||
let $wl6501_row_fmt = compressed;
|
||||
let $wl6501_kbs = 4;
|
||||
let $wl6501_file_format = 'Barracuda';
|
||||
--source suite/innodb/include/innodb_wl6501_crash.inc
|
||||
|
||||
let $wl6501_temp = temporary;
|
||||
--source suite/innodb/include/innodb_wl6501_crash_temp.inc
|
||||
|
||||
|
@@ -21,6 +21,5 @@
|
||||
let $wl6501_file_per_table = 1;
|
||||
let $wl6501_row_fmt = compressed;
|
||||
let $wl6501_kbs = 8;
|
||||
let $wl6501_file_format = 'Barracuda';
|
||||
--source suite/innodb/include/innodb_wl6501_crash.inc
|
||||
|
||||
|
Reference in New Issue
Block a user