GIF89a; Mini Shell

Mini Shell

Direktori : /proc/self/root/proc/self/root/usr/share/mysql-test/suite/innodb/r/
Upload File :
Current File : //proc/self/root/proc/self/root/usr/share/mysql-test/suite/innodb/r/blob_redo.result

#
# Bug #19498877 LIMITATION ON BLOB SIZE IS TOO STRICT, BLOB CAN
# BE 10% OF TOTAL REDO LOG SIZE
#
call mtr.add_suppression("InnoDB: Resizing redo log from");
call mtr.add_suppression("InnoDB: Starting to delete and rewrite log files.");
call mtr.add_suppression("InnoDB: New log files created, LSN=");
SET GLOBAL max_allowed_packet = 100*1024*1024;
# Connection big_packets:
CREATE TABLE t1 (a BIGINT PRIMARY KEY, b LONGBLOB) ENGINE=InnoDB;
INSERT INTO t1 (a, b) VALUES (1, '1');
INSERT INTO t1 (a, b) VALUES (2, '2');
INSERT INTO t1 (a, b) VALUES (3, '3');
INSERT INTO t1 (a, b) VALUES (4, '4');
INSERT INTO t1 (a, b) VALUES (5, '5');
start transaction;
INSERT INTO t1 (a, b) VALUES (6, REPEAT('a', 6*1024*1024));
# Connection default:
# Quick shutdown and restart server
# Connection default:
SELECT a, b FROM t1;
a	b
1	1
2	2
3	3
4	4
5	5
SET GLOBAL max_allowed_packet = 100*1024*1024;
# Connection big_packets:
start transaction;
UPDATE t1 SET b = REPEAT('a', 6*1024*1024) WHERE a = 1;
# Connection default:
# Quick shutdown and restart server
# Connection default:
SELECT a, b FROM t1;
a	b
1	1
2	2
3	3
4	4
5	5
DROP TABLE t1;

./BlackJoker Mini Shell 1.0