mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
6b20342651
In original code, sometimes one got an automatic DEFAULT value in some cases, in other cases not. For example: create table t1 (a int primary key) - No default create table t2 (a int, primary key(a)) - DEFAULT 0 create table t1 SELECT .... - Default for all fields, even if they where defined as NOT NULL ALTER TABLE ... MODIFY could sometimes add an unexpected DEFAULT value. The patch is quite big because we had some many test cases that used CREATE ... SELECT or CREATE ... (...PRIMARY KEY(xxx)) which doesn't have an automatic DEFAULT anymore. Other things: - Removed warnings from InnoDB when waiting from semaphore (got this when testing things with --big)
979 lines
28 KiB
Text
979 lines
28 KiB
Text
SET GLOBAL innodb_file_format = `Barracuda`;
|
|
SET GLOBAL innodb_file_per_table = ON;
|
|
# Test 1) Show the page size from Information Schema
|
|
SELECT variable_value FROM information_schema.global_status
|
|
WHERE LOWER(variable_name) = 'innodb_page_size';
|
|
variable_value
|
|
16384
|
|
# Test 4) The maximum row size is dependent upon the page size.
|
|
# Redundant: 8123, Compact: 8126.
|
|
# Compressed: 8126, Dynamic: 8126.
|
|
# Each row format has its own amount of overhead that
|
|
# varies depending on number of fields and other overhead.
|
|
SET SESSION innodb_strict_mode = ON;
|
|
CREATE TABLE t1 (
|
|
c01 char(200), c02 char(200), c03 char(200), c04 char(200), c05 char(200),
|
|
c06 char(200), c07 char(200), c08 char(200), c09 char(200), c10 char(200),
|
|
c11 char(200), c12 char(200), c13 char(200), c14 char(200), c15 char(200),
|
|
c16 char(200), c17 char(200), c18 char(200), c19 char(200), c20 char(200),
|
|
c21 char(200), c22 char(200), c23 char(200), c24 char(200), c25 char(200),
|
|
c26 char(200), c27 char(200), c28 char(200), c29 char(200), c30 char(200),
|
|
c31 char(200), c32 char(200), c33 char(200), c34 char(200), c35 char(200),
|
|
c36 char(200), c37 char(200), c38 char(200), c39 char(200), c40 char(211)
|
|
) ROW_FORMAT=redundant;
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (
|
|
c01 char(200), c02 char(200), c03 char(200), c04 char(200), c05 char(200),
|
|
c06 char(200), c07 char(200), c08 char(200), c09 char(200), c10 char(200),
|
|
c11 char(200), c12 char(200), c13 char(200), c14 char(200), c15 char(200),
|
|
c16 char(200), c17 char(200), c18 char(200), c19 char(200), c20 char(200),
|
|
c21 char(200), c22 char(200), c23 char(200), c24 char(200), c25 char(200),
|
|
c26 char(200), c27 char(200), c28 char(200), c29 char(200), c30 char(200),
|
|
c31 char(200), c32 char(200), c33 char(200), c34 char(200), c35 char(200),
|
|
c36 char(200), c37 char(200), c38 char(200), c39 char(200), c40 char(212)
|
|
) ROW_FORMAT=redundant;
|
|
ERROR 42000: Row size too large (> 8123). 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.
|
|
CREATE TABLE t1 (
|
|
c01 char(200), c02 char(200), c03 char(200), c04 char(200), c05 char(200),
|
|
c06 char(200), c07 char(200), c08 char(200), c09 char(200), c10 char(200),
|
|
c11 char(200), c12 char(200), c13 char(200), c14 char(200), c15 char(200),
|
|
c16 char(200), c17 char(200), c18 char(200), c19 char(200), c20 char(200),
|
|
c21 char(200), c22 char(200), c23 char(200), c24 char(200), c25 char(200),
|
|
c26 char(200), c27 char(200), c28 char(200), c29 char(200), c30 char(200),
|
|
c31 char(200), c32 char(200), c33 char(200), c34 char(200), c35 char(200),
|
|
c36 char(200), c37 char(200), c38 char(200), c39 char(250), c40 char(246)
|
|
) ROW_FORMAT=compact;
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (
|
|
c01 char(200), c02 char(200), c03 char(200), c04 char(200), c05 char(200),
|
|
c06 char(200), c07 char(200), c08 char(200), c09 char(200), c10 char(200),
|
|
c11 char(200), c12 char(200), c13 char(200), c14 char(200), c15 char(200),
|
|
c16 char(200), c17 char(200), c18 char(200), c19 char(200), c20 char(200),
|
|
c21 char(200), c22 char(200), c23 char(200), c24 char(200), c25 char(200),
|
|
c26 char(200), c27 char(200), c28 char(200), c29 char(200), c30 char(200),
|
|
c31 char(200), c32 char(200), c33 char(200), c34 char(200), c35 char(200),
|
|
c36 char(200), c37 char(200), c38 char(200), c39 char(250), c40 char(247)
|
|
) ROW_FORMAT=compact;
|
|
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.
|
|
CREATE TABLE t1 (
|
|
c01 char(200), c02 char(200), c03 char(200), c04 char(200), c05 char(200),
|
|
c06 char(200), c07 char(200), c08 char(200), c09 char(200), c10 char(200),
|
|
c11 char(200), c12 char(200), c13 char(200), c14 char(200), c15 char(200),
|
|
c16 char(200), c17 char(200), c18 char(200), c19 char(200), c20 char(200),
|
|
c21 char(200), c22 char(200), c23 char(200), c24 char(200), c25 char(200),
|
|
c26 char(200), c27 char(200), c28 char(200), c29 char(200), c30 char(200),
|
|
c31 char(200), c32 char(200), c33 char(200), c34 char(200), c35 char(200),
|
|
c36 char(200), c37 char(200), c38 char(200), c39 char(200), c40 char(157)
|
|
) ROW_FORMAT=compressed;
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (
|
|
c01 char(200), c02 char(200), c03 char(200), c04 char(200), c05 char(200),
|
|
c06 char(200), c07 char(200), c08 char(200), c09 char(200), c10 char(200),
|
|
c11 char(200), c12 char(200), c13 char(200), c14 char(200), c15 char(200),
|
|
c16 char(200), c17 char(200), c18 char(200), c19 char(200), c20 char(200),
|
|
c21 char(200), c22 char(200), c23 char(200), c24 char(200), c25 char(200),
|
|
c26 char(200), c27 char(200), c28 char(200), c29 char(200), c30 char(200),
|
|
c31 char(200), c32 char(200), c33 char(200), c34 char(200), c35 char(200),
|
|
c36 char(200), c37 char(200), c38 char(200), c39 char(200), c40 char(160)
|
|
) ROW_FORMAT=compressed;
|
|
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
|
CREATE TABLE t1 (
|
|
c01 char(200), c02 char(200), c03 char(200), c04 char(200), c05 char(200),
|
|
c06 char(200), c07 char(200), c08 char(200), c09 char(200), c10 char(200),
|
|
c11 char(200), c12 char(200), c13 char(200), c14 char(200), c15 char(200),
|
|
c16 char(200), c17 char(200), c18 char(200), c19 char(200), c20 char(200),
|
|
c21 char(200), c22 char(200), c23 char(200), c24 char(200), c25 char(200),
|
|
c26 char(200), c27 char(200), c28 char(200), c29 char(200), c30 char(200),
|
|
c31 char(200), c32 char(200), c33 char(200), c34 char(200), c35 char(200),
|
|
c36 char(200), c37 char(200), c38 char(200), c39 char(250), c40 char(246)
|
|
) ROW_FORMAT=dynamic;
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (
|
|
c01 char(200), c02 char(200), c03 char(200), c04 char(200), c05 char(200),
|
|
c06 char(200), c07 char(200), c08 char(200), c09 char(200), c10 char(200),
|
|
c11 char(200), c12 char(200), c13 char(200), c14 char(200), c15 char(200),
|
|
c16 char(200), c17 char(200), c18 char(200), c19 char(200), c20 char(200),
|
|
c21 char(200), c22 char(200), c23 char(200), c24 char(200), c25 char(200),
|
|
c26 char(200), c27 char(200), c28 char(200), c29 char(200), c30 char(200),
|
|
c31 char(200), c32 char(200), c33 char(200), c34 char(200), c35 char(200),
|
|
c36 char(200), c37 char(200), c38 char(200), c39 char(250), c40 char(247)
|
|
) ROW_FORMAT=dynamic;
|
|
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
|
CREATE TABLE t1 (a varchar(255) character set utf8,
|
|
b varchar(255) character set utf8,
|
|
c varchar(255) character set utf8,
|
|
d varchar(255) character set utf8,
|
|
e varchar(4) character set utf8,
|
|
PRIMARY KEY (a,b,c,d,e))
|
|
ENGINE=innodb;
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (a varchar(255) character set utf8,
|
|
b varchar(255) character set utf8,
|
|
c varchar(255) character set utf8,
|
|
d varchar(255) character set utf8,
|
|
e varchar(5) character set utf8,
|
|
PRIMARY KEY (a,b,c,d,e))
|
|
ENGINE=innodb;
|
|
ERROR 42000: Specified key was too long; max key length is 3072 bytes
|
|
CREATE TABLE t1 (a varchar(255) character set utf8,
|
|
b varchar(255) character set utf8,
|
|
c varchar(255) character set utf8,
|
|
d varchar(255) character set utf8,
|
|
e varchar(255) character set utf8,
|
|
f varchar(4) character set utf8,
|
|
PRIMARY KEY (a), KEY (b,c,d,e,f))
|
|
ENGINE=innodb;
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (a varchar(255) character set utf8,
|
|
b varchar(255) character set utf8,
|
|
c varchar(255) character set utf8,
|
|
d varchar(255) character set utf8,
|
|
e varchar(255) character set utf8,
|
|
f varchar(5) character set utf8,
|
|
PRIMARY KEY (a), KEY (b,c,d,e,f))
|
|
ENGINE=innodb;
|
|
ERROR 42000: Specified key was too long; max key length is 3072 bytes
|
|
# Test 5) Make sure that KEY_BLOCK_SIZE=16, 8, 4, 2 & 1
|
|
# are all accepted.
|
|
SET SESSION innodb_strict_mode = ON;
|
|
CREATE TABLE t1 (i int) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=16;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=16
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=8;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=8
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=4;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=4
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=2;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=2
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=1;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=1
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=0;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED
|
|
DROP TABLE t1;
|
|
SET SESSION innodb_strict_mode = OFF;
|
|
CREATE TABLE t1 (i int) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=16;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=16
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=8;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=8
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=4;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=4
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=2;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=2
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=1;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED key_block_size=1
|
|
ALTER TABLE t1 KEY_BLOCK_SIZE=0;
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
SELECT table_name, row_format, create_options
|
|
FROM information_schema.tables WHERE table_name = 't1';
|
|
table_name row_format create_options
|
|
t1 Compressed row_format=COMPRESSED
|
|
DROP TABLE t1;
|
|
SET GLOBAL innodb_file_format = `Barracuda`;
|
|
CREATE TABLE t2(d varchar(17) PRIMARY KEY) ENGINE=innodb DEFAULT CHARSET=utf8;
|
|
CREATE TABLE t3(a int PRIMARY KEY) ENGINE=innodb;
|
|
INSERT INTO t3 VALUES (22),(44),(33),(55),(66);
|
|
INSERT INTO t2 VALUES ('jejdkrun87'),('adfd72nh9k'),
|
|
('adfdpplkeock'),('adfdijnmnb78k'),('adfdijn0loKNHJik');
|
|
CREATE TABLE t1(a int, b blob, c text, d text NOT NULL)
|
|
ENGINE=innodb DEFAULT CHARSET=utf8;
|
|
INSERT INTO t1
|
|
SELECT a,LEFT(REPEAT(d,100*a),65535),REPEAT(d,20*a),d FROM t2,t3;
|
|
DROP TABLE t2, t3;
|
|
SELECT COUNT(*) FROM t1 WHERE a=44;
|
|
COUNT(*)
|
|
5
|
|
SELECT a,
|
|
LENGTH(b),b=LEFT(REPEAT(d,100*a),65535),LENGTH(c),c=REPEAT(d,20*a),d FROM t1;
|
|
a LENGTH(b) b=LEFT(REPEAT(d,100*a),65535) LENGTH(c) c=REPEAT(d,20*a) d
|
|
22 22000 1 4400 1 adfd72nh9k
|
|
22 35200 1 7040 1 adfdijn0loKNHJik
|
|
22 28600 1 5720 1 adfdijnmnb78k
|
|
22 26400 1 5280 1 adfdpplkeock
|
|
22 22000 1 4400 1 jejdkrun87
|
|
33 33000 1 6600 1 adfd72nh9k
|
|
33 52800 1 10560 1 adfdijn0loKNHJik
|
|
33 42900 1 8580 1 adfdijnmnb78k
|
|
33 39600 1 7920 1 adfdpplkeock
|
|
33 33000 1 6600 1 jejdkrun87
|
|
44 44000 1 8800 1 adfd72nh9k
|
|
44 65535 1 14080 1 adfdijn0loKNHJik
|
|
44 57200 1 11440 1 adfdijnmnb78k
|
|
44 52800 1 10560 1 adfdpplkeock
|
|
44 44000 1 8800 1 jejdkrun87
|
|
55 55000 1 11000 1 adfd72nh9k
|
|
55 65535 1 17600 1 adfdijn0loKNHJik
|
|
55 65535 1 14300 1 adfdijnmnb78k
|
|
55 65535 1 13200 1 adfdpplkeock
|
|
55 55000 1 11000 1 jejdkrun87
|
|
66 65535 1 13200 1 adfd72nh9k
|
|
66 65535 1 21120 1 adfdijn0loKNHJik
|
|
66 65535 1 17160 1 adfdijnmnb78k
|
|
66 65535 1 15840 1 adfdpplkeock
|
|
66 65535 1 13200 1 jejdkrun87
|
|
ALTER TABLE t1 ADD PRIMARY KEY (a), ADD KEY (b(20));
|
|
ERROR 23000: Duplicate entry '22' for key 'PRIMARY'
|
|
DELETE FROM t1 WHERE d='null';
|
|
ALTER TABLE t1 ADD PRIMARY KEY (a), ADD KEY (b(20));
|
|
ERROR 23000: Duplicate entry '22' for key 'PRIMARY'
|
|
DELETE FROM t1 WHERE a%2;
|
|
CHECK TABLE t1;
|
|
Table Op Msg_type Msg_text
|
|
test.t1 check status OK
|
|
ALTER TABLE t1 ADD PRIMARY KEY (a,b(255),c(255)), ADD KEY (b(767));
|
|
SELECT COUNT(*) FROM t1 WHERE a=44;
|
|
COUNT(*)
|
|
5
|
|
SELECT a,
|
|
LENGTH(b), b=LEFT(REPEAT(d,100*a), 65535),LENGTH(c), c=REPEAT(d,20*a), d FROM t1;
|
|
a LENGTH(b) b=LEFT(REPEAT(d,100*a), 65535) LENGTH(c) c=REPEAT(d,20*a) d
|
|
22 22000 1 4400 1 adfd72nh9k
|
|
22 35200 1 7040 1 adfdijn0loKNHJik
|
|
22 28600 1 5720 1 adfdijnmnb78k
|
|
22 26400 1 5280 1 adfdpplkeock
|
|
22 22000 1 4400 1 jejdkrun87
|
|
44 44000 1 8800 1 adfd72nh9k
|
|
44 65535 1 14080 1 adfdijn0loKNHJik
|
|
44 57200 1 11440 1 adfdijnmnb78k
|
|
44 52800 1 10560 1 adfdpplkeock
|
|
44 44000 1 8800 1 jejdkrun87
|
|
66 65535 1 13200 1 adfd72nh9k
|
|
66 65535 1 21120 1 adfdijn0loKNHJik
|
|
66 65535 1 17160 1 adfdijnmnb78k
|
|
66 65535 1 15840 1 adfdpplkeock
|
|
66 65535 1 13200 1 jejdkrun87
|
|
SHOW CREATE TABLE t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`a` int(11) NOT NULL,
|
|
`b` blob NOT NULL,
|
|
`c` text NOT NULL,
|
|
`d` text NOT NULL,
|
|
PRIMARY KEY (`a`,`b`(255),`c`(255)),
|
|
KEY `b` (`b`(767))
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
|
CHECK TABLE t1;
|
|
Table Op Msg_type Msg_text
|
|
test.t1 check status OK
|
|
DROP TABLE t1;
|
|
# 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,
|
|
h blob,i blob,j blob,k blob,l blob,m blob,n blob,
|
|
o blob,p blob,q blob,r blob,s blob,t blob,u blob)
|
|
ENGINE=InnoDB ROW_FORMAT=dynamic;
|
|
SET @a = repeat('a', 767);
|
|
SET @b = repeat('b', 767);
|
|
SET @c = repeat('c', 767);
|
|
SET @d = repeat('d', 767);
|
|
SET @e = repeat('e', 767);
|
|
INSERT INTO t1 VALUES (@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a,@a);
|
|
UPDATE t1 SET a=@b,b=@b,c=@b,d=@b,e=@b,f=@b,g=@b,h=@b,i=@b,j=@b,
|
|
k=@b,l=@b,m=@b,n=@b,o=@b,p=@b,q=@b,r=@b,s=@b,t=@b,u=@b;
|
|
CREATE INDEX t1a ON t1 (a(767));
|
|
CREATE INDEX t1b ON t1 (b(767));
|
|
CREATE INDEX t1c ON t1 (c(767));
|
|
CREATE INDEX t1d ON t1 (d(767));
|
|
CREATE INDEX t1e ON t1 (e(767));
|
|
UPDATE t1 SET a=@c,b=@c,c=@c,d=@c,e=@c,f=@c,g=@c,h=@c,i=@c,j=@c,
|
|
k=@c,l=@c,m=@c,n=@c,o=@c,p=@c,q=@c,r=@c,s=@c,t=@c,u=@c;
|
|
CREATE INDEX t1f ON t1 (f(767));
|
|
UPDATE t1 SET a=@d,b=@d,c=@d,d=@d,e=@d,f=@d,g=@d,h=@d,i=@d,j=@d,
|
|
k=@d,l=@d,m=@d,n=@d,o=@d,p=@d,q=@d,r=@d,s=@d,t=@d,u=@d;
|
|
ERROR HY000: Undo log record is too big.
|
|
BEGIN;
|
|
UPDATE t1 SET a=@d,b=@d,c=@d,d=@d,e=@d;
|
|
UPDATE t1 SET f=@d,g=@d,h=@d,i=@d,j=@d,k=@d,l=@d,m=@d,
|
|
n=@d,o=@d,p=@d,q=@d,r=@d,s=@d,t=@d,u=@d;
|
|
COMMIT;
|
|
CREATE INDEX t1g ON t1 (g(767));
|
|
UPDATE t1 SET g=@e;
|
|
CREATE INDEX t1h ON t1 (h(767));
|
|
UPDATE t1 SET h=@e;
|
|
CREATE INDEX t1i ON t1 (i(767));
|
|
UPDATE t1 SET i=@e;
|
|
CREATE INDEX t1j ON t1 (j(767));
|
|
UPDATE t1 SET j=@e;
|
|
CREATE INDEX t1k ON t1 (k(767));
|
|
UPDATE t1 SET k=@e;
|
|
CREATE INDEX t1l ON t1 (l(767));
|
|
UPDATE t1 SET l=@e;
|
|
CREATE INDEX t1m ON t1 (m(767));
|
|
UPDATE t1 SET m=@e;
|
|
CREATE INDEX t1n ON t1 (n(767));
|
|
UPDATE t1 SET n=@e;
|
|
CREATE INDEX t1o ON t1 (o(767));
|
|
UPDATE t1 SET o=@e;
|
|
CREATE INDEX t1p ON t1 (p(767));
|
|
UPDATE t1 SET p=@e;
|
|
CREATE INDEX t1q ON t1 (q(767));
|
|
UPDATE t1 SET q=@e;
|
|
CREATE INDEX t1r ON t1 (r(767));
|
|
UPDATE t1 SET r=@e;
|
|
CREATE INDEX t1s ON t1 (s(767));
|
|
UPDATE t1 SET s=@e;
|
|
CREATE INDEX t1t ON t1 (t(767));
|
|
UPDATE t1 SET t=@e;
|
|
ERROR HY000: Undo log record is too big.
|
|
CREATE INDEX t1u ON t1 (u(767));
|
|
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
|
|
CREATE INDEX t1ut ON t1 (u(767), t(767));
|
|
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
|
|
CREATE INDEX t1st ON t1 (s(767), t(767));
|
|
SHOW CREATE TABLE t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`a` blob,
|
|
`b` blob,
|
|
`c` blob,
|
|
`d` blob,
|
|
`e` blob,
|
|
`f` blob,
|
|
`g` blob,
|
|
`h` blob,
|
|
`i` blob,
|
|
`j` blob,
|
|
`k` blob,
|
|
`l` blob,
|
|
`m` blob,
|
|
`n` blob,
|
|
`o` blob,
|
|
`p` blob,
|
|
`q` blob,
|
|
`r` blob,
|
|
`s` blob,
|
|
`t` blob,
|
|
`u` blob,
|
|
KEY `t1a` (`a`(767)),
|
|
KEY `t1b` (`b`(767)),
|
|
KEY `t1c` (`c`(767)),
|
|
KEY `t1d` (`d`(767)),
|
|
KEY `t1e` (`e`(767)),
|
|
KEY `t1f` (`f`(767)),
|
|
KEY `t1g` (`g`(767)),
|
|
KEY `t1h` (`h`(767)),
|
|
KEY `t1i` (`i`(767)),
|
|
KEY `t1j` (`j`(767)),
|
|
KEY `t1k` (`k`(767)),
|
|
KEY `t1l` (`l`(767)),
|
|
KEY `t1m` (`m`(767)),
|
|
KEY `t1n` (`n`(767)),
|
|
KEY `t1o` (`o`(767)),
|
|
KEY `t1p` (`p`(767)),
|
|
KEY `t1q` (`q`(767)),
|
|
KEY `t1r` (`r`(767)),
|
|
KEY `t1s` (`s`(767)),
|
|
KEY `t1t` (`t`(767)),
|
|
KEY `t1st` (`s`(767),`t`(767))
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
|
DROP TABLE t1;
|
|
SET GLOBAL innodb_file_format = `Barracuda`;
|
|
SET GLOBAL innodb_file_per_table = ON;
|
|
Test an assertion failure on purge.
|
|
CREATE TABLE t1_purge (
|
|
A int,
|
|
B blob, C blob, D blob, E blob,
|
|
F blob, G blob, H blob,
|
|
PRIMARY KEY (B(767), C(767), D(767), E(767), A),
|
|
INDEX (A)
|
|
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
|
|
INSERT INTO t1_purge VALUES (1,
|
|
REPEAT('b', 766), REPEAT('c', 766), REPEAT('d', 766), REPEAT('e', 766),
|
|
REPEAT('f', 766), REPEAT('g', 766), REPEAT('h', 766));
|
|
CREATE TABLE t2_purge (
|
|
A int PRIMARY KEY,
|
|
B blob, C blob, D blob, E blob,
|
|
F blob, G blob, H blob, I blob,
|
|
J blob, K blob, L blob,
|
|
INDEX (B(767))) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
|
|
INSERT INTO t2_purge VALUES (1,
|
|
REPEAT('b', 766), REPEAT('c', 766), REPEAT('d', 766), REPEAT('e', 766),
|
|
REPEAT('f', 766), REPEAT('g', 766), REPEAT('h', 766), REPEAT('i', 766),
|
|
REPEAT('j', 766), REPEAT('k', 766), REPEAT('l', 766));
|
|
CREATE TABLE t3_purge (
|
|
A int,
|
|
B varchar(800), C varchar(800), D varchar(800), E varchar(800),
|
|
F varchar(800), G varchar(800), H varchar(800),
|
|
PRIMARY KEY (B(767), C(767), D(767), E(767), A),
|
|
INDEX (A)
|
|
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
|
|
INSERT INTO t3_purge SELECT * FROM t1_purge;
|
|
CREATE TABLE t4_purge (
|
|
A int PRIMARY KEY,
|
|
B varchar(800), C varchar(800), D varchar(800), E varchar(800),
|
|
F varchar(800), G varchar(800), H varchar(800), I varchar(800),
|
|
J varchar(800), K varchar(800), L varchar(800),
|
|
INDEX (B(767))) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
|
|
INSERT INTO t4_purge SELECT * FROM t2_purge;
|
|
DELETE FROM t1_purge;
|
|
DELETE FROM t2_purge;
|
|
DELETE FROM t3_purge;
|
|
DELETE FROM t4_purge;
|
|
SET GLOBAL innodb_file_per_table=on;
|
|
SET GLOBAL innodb_file_format='Barracuda';
|
|
SET @r=REPEAT('a',500);
|
|
CREATE TABLE tlong(a int,
|
|
v1 varchar(500), v2 varchar(500), v3 varchar(500),
|
|
v4 varchar(500), v5 varchar(500), v6 varchar(500),
|
|
v7 varchar(500), v8 varchar(500), v9 varchar(500),
|
|
v10 varchar(500), v11 varchar(500), v12 varchar(500),
|
|
v13 varchar(500), v14 varchar(500), v15 varchar(500),
|
|
v16 varchar(500), v17 varchar(500), v18 varchar(500)
|
|
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
|
|
CREATE INDEX idx1 ON tlong(a,v1);
|
|
INSERT INTO tlong VALUES(9,@r,@r,@r,@r,@r,@r,@r,@r,@r,@r,@r,@r,@r,@r,@r,@r,@r,@r);
|
|
UPDATE tlong SET a=1000;
|
|
DELETE FROM tlong;
|
|
CREATE TABLE tlong2(a blob,b blob,c blob,d blob,e blob,f blob,g blob,h blob,
|
|
i blob,j blob,k blob,l blob,m blob,n blob,o blob,p blob)
|
|
ENGINE=innodb ROW_FORMAT=dynamic;
|
|
SET @r = REPEAT('a', 767);
|
|
INSERT INTO tlong2 VALUES (@r,@r,@r,@r, @r,@r,@r,@r, @r,@r,@r,@r, @r,@r,@r,@r);
|
|
CREATE INDEX ndx_a ON tlong2 (a(500));
|
|
CREATE INDEX ndx_b ON tlong2 (b(500));
|
|
CREATE INDEX ndx_c ON tlong2 (c(500));
|
|
CREATE INDEX ndx_d ON tlong2 (d(500));
|
|
CREATE INDEX ndx_e ON tlong2 (e(500));
|
|
CREATE INDEX ndx_f ON tlong2 (f(500));
|
|
CREATE INDEX ndx_k ON tlong2 (k(500));
|
|
CREATE INDEX ndx_l ON tlong2 (l(500));
|
|
SET @r = REPEAT('b', 500);
|
|
UPDATE tlong2 set a=@r,b=@r,c=@r,d=@r;
|
|
UPDATE tlong2 set e=@r,f=@r,g=@r,h=@r;
|
|
UPDATE tlong2 set i=@r,j=@r,k=@r,l=@r;
|
|
UPDATE tlong2 set m=@r,n=@r,o=@r,p=@r;
|
|
ALTER TABLE tlong2 DROP INDEX ndx_a;
|
|
ALTER TABLE tlong2 DROP INDEX ndx_b;
|
|
CREATE INDEX ndx_g ON tlong2 (g(500));
|
|
CREATE INDEX ndx_h ON tlong2 (h(500));
|
|
CREATE INDEX ndx_i ON tlong2 (i(500));
|
|
CREATE INDEX ndx_j ON tlong2 (j(500));
|
|
CREATE INDEX ndx_m ON tlong2 (m(500));
|
|
CREATE INDEX ndx_n ON tlong2 (n(500));
|
|
CREATE INDEX ndx_o ON tlong2 (o(500));
|
|
CREATE INDEX ndx_p ON tlong2 (p(500));
|
|
SHOW CREATE TABLE tlong2;
|
|
Table Create Table
|
|
tlong2 CREATE TABLE `tlong2` (
|
|
`a` blob,
|
|
`b` blob,
|
|
`c` blob,
|
|
`d` blob,
|
|
`e` blob,
|
|
`f` blob,
|
|
`g` blob,
|
|
`h` blob,
|
|
`i` blob,
|
|
`j` blob,
|
|
`k` blob,
|
|
`l` blob,
|
|
`m` blob,
|
|
`n` blob,
|
|
`o` blob,
|
|
`p` blob,
|
|
KEY `ndx_c` (`c`(500)),
|
|
KEY `ndx_d` (`d`(500)),
|
|
KEY `ndx_e` (`e`(500)),
|
|
KEY `ndx_f` (`f`(500)),
|
|
KEY `ndx_k` (`k`(500)),
|
|
KEY `ndx_l` (`l`(500)),
|
|
KEY `ndx_g` (`g`(500)),
|
|
KEY `ndx_h` (`h`(500)),
|
|
KEY `ndx_i` (`i`(500)),
|
|
KEY `ndx_j` (`j`(500)),
|
|
KEY `ndx_m` (`m`(500)),
|
|
KEY `ndx_n` (`n`(500)),
|
|
KEY `ndx_o` (`o`(500)),
|
|
KEY `ndx_p` (`p`(500))
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
|
SET SESSION innodb_strict_mode = ON;
|
|
CREATE TABLE bug12547647(
|
|
a int NOT NULL, b blob NOT NULL, c text,
|
|
PRIMARY KEY (b(10), a), INDEX (c(767)), INDEX(b(767))
|
|
) ENGINE=InnoDB ROW_FORMAT=DYNAMIC;
|
|
INSERT INTO bug12547647 VALUES (5,REPEAT('khdfo5AlOq',1900),REPEAT('g',7751));
|
|
COMMIT;
|
|
UPDATE bug12547647 SET c = REPEAT('b',16928);
|
|
ERROR HY000: Undo log record is too big.
|
|
SHOW WARNINGS;
|
|
Level Code Message
|
|
Error 1713 Undo log record is too big.
|
|
DROP TABLE bug12547647;
|
|
SET SESSION innodb_strict_mode = off;
|
|
CREATE TABLE t1(
|
|
c text NOT NULL, d text NOT NULL,
|
|
PRIMARY KEY (c(767),d(767)))
|
|
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
|
|
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
|
CREATE TABLE t1(
|
|
c text NOT NULL, d text NOT NULL,
|
|
PRIMARY KEY (c(767),d(767)))
|
|
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2 CHARSET=ASCII;
|
|
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
|
CREATE TABLE t1(
|
|
c text NOT NULL, d text NOT NULL,
|
|
PRIMARY KEY (c(767),d(767)))
|
|
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4 CHARSET=ASCII;
|
|
drop table t1;
|
|
CREATE TABLE t1(c text, PRIMARY KEY (c(440)))
|
|
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
|
|
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
|
CREATE TABLE t1(c text, PRIMARY KEY (c(438)))
|
|
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
|
|
INSERT INTO t1 VALUES(REPEAT('A',512)),(REPEAT('B',512));
|
|
DROP TABLE t1;
|
|
DROP TABLE t1_purge, t2_purge, t3_purge, t4_purge;
|
|
DROP TABLE tlong;
|
|
DROP TABLE tlong2;
|
|
SET SESSION innodb_strict_mode = on;
|
|
CREATE TABLE t2(COL1 TEXT,
|
|
COL2 TEXT,
|
|
COL3 TEXT,
|
|
COL4 TEXT,
|
|
COL5 TEXT,
|
|
COL6 TEXT,
|
|
COL7 TEXT,
|
|
COL8 TEXT,
|
|
COL9 TEXT,
|
|
COL10 TEXT,
|
|
COL11 TEXT,
|
|
COL12 TEXT,
|
|
COL13 TEXT,
|
|
COL14 TEXT,
|
|
COL15 TEXT,
|
|
COL16 TEXT,
|
|
COL17 TEXT,
|
|
COL18 TEXT,
|
|
COL19 TEXT,
|
|
COL20 TEXT,
|
|
COL21 TEXT,
|
|
COL22 TEXT,
|
|
COL23 TEXT,
|
|
COL24 TEXT,
|
|
COL25 TEXT,
|
|
COL26 TEXT,
|
|
COL27 TEXT,
|
|
COL28 TEXT,
|
|
COL29 TEXT,
|
|
COL30 TEXT,
|
|
COL31 TEXT,
|
|
COL32 TEXT,
|
|
COL33 TEXT,
|
|
COL34 TEXT,
|
|
COL35 TEXT,
|
|
COL36 TEXT,
|
|
COL37 TEXT,
|
|
COL38 TEXT,
|
|
COL39 TEXT,
|
|
COL40 TEXT,
|
|
COL41 TEXT,
|
|
COL42 TEXT,
|
|
COL43 TEXT,
|
|
COL44 TEXT,
|
|
COL45 TEXT,
|
|
COL46 TEXT,
|
|
COL47 TEXT,
|
|
COL48 TEXT,
|
|
COL49 TEXT,
|
|
COL50 TEXT,
|
|
COL51 TEXT,
|
|
COL52 TEXT,
|
|
COL53 TEXT,
|
|
COL54 TEXT,
|
|
COL55 TEXT,
|
|
COL56 TEXT,
|
|
COL57 TEXT,
|
|
COL58 TEXT,
|
|
COL59 TEXT,
|
|
COL60 TEXT,
|
|
COL61 TEXT,
|
|
COL62 TEXT,
|
|
COL63 TEXT,
|
|
COL64 TEXT,
|
|
COL65 TEXT,
|
|
COL66 TEXT,
|
|
COL67 TEXT,
|
|
COL68 TEXT,
|
|
COL69 TEXT,
|
|
COL70 TEXT,
|
|
COL71 TEXT,
|
|
COL72 TEXT,
|
|
COL73 TEXT,
|
|
COL74 TEXT,
|
|
COL75 TEXT,
|
|
COL76 TEXT,
|
|
COL77 TEXT,
|
|
COL78 TEXT,
|
|
COL79 TEXT,
|
|
COL80 TEXT,
|
|
COL81 TEXT,
|
|
COL82 TEXT,
|
|
COL83 TEXT,
|
|
COL84 TEXT,
|
|
COL85 TEXT,
|
|
COL86 TEXT,
|
|
COL87 TEXT,
|
|
COL88 TEXT,
|
|
COL89 TEXT,
|
|
COL90 TEXT,
|
|
COL91 TEXT,
|
|
COL92 TEXT,
|
|
COL93 TEXT,
|
|
COL94 TEXT,
|
|
COL95 TEXT,
|
|
COL96 TEXT,
|
|
COL97 TEXT,
|
|
COL98 TEXT,
|
|
COL99 TEXT,
|
|
COL100 TEXT,
|
|
COL101 TEXT,
|
|
COL102 TEXT,
|
|
COL103 TEXT,
|
|
COL104 TEXT,
|
|
COL105 TEXT,
|
|
COL106 TEXT,
|
|
COL107 TEXT,
|
|
COL108 TEXT,
|
|
COL109 TEXT,
|
|
COL110 TEXT,
|
|
COL111 TEXT,
|
|
COL112 TEXT,
|
|
COL113 TEXT,
|
|
COL114 TEXT,
|
|
COL115 TEXT,
|
|
COL116 TEXT,
|
|
COL117 TEXT,
|
|
COL118 TEXT,
|
|
COL119 TEXT,
|
|
COL120 TEXT,
|
|
COL121 TEXT,
|
|
COL122 TEXT,
|
|
COL123 TEXT,
|
|
COL124 TEXT,
|
|
COL125 TEXT,
|
|
COL126 TEXT,
|
|
COL127 TEXT,
|
|
COL128 TEXT,
|
|
COL129 TEXT,
|
|
COL130 TEXT,
|
|
COL131 TEXT,
|
|
COL132 TEXT,
|
|
COL133 TEXT,
|
|
COL134 TEXT,
|
|
COL135 TEXT,
|
|
COL136 TEXT,
|
|
COL137 TEXT,
|
|
COL138 TEXT,
|
|
COL139 TEXT,
|
|
COL140 TEXT,
|
|
COL141 TEXT,
|
|
COL142 TEXT,
|
|
COL143 TEXT,
|
|
COL144 TEXT,
|
|
COL145 TEXT,
|
|
COL146 TEXT,
|
|
COL147 TEXT,
|
|
COL148 TEXT,
|
|
COL149 TEXT,
|
|
COL150 TEXT,
|
|
COL151 TEXT,
|
|
COL152 TEXT,
|
|
COL153 TEXT,
|
|
COL154 TEXT,
|
|
COL155 TEXT,
|
|
COL156 TEXT,
|
|
COL157 TEXT,
|
|
COL158 TEXT,
|
|
COL159 TEXT,
|
|
COL160 TEXT,
|
|
COL161 TEXT,
|
|
COL162 TEXT,
|
|
COL163 TEXT,
|
|
COL164 TEXT,
|
|
COL165 TEXT,
|
|
COL166 TEXT,
|
|
COL167 TEXT,
|
|
COL168 TEXT,
|
|
COL169 TEXT,
|
|
COL170 TEXT,
|
|
COL171 TEXT,
|
|
COL172 TEXT,
|
|
COL173 TEXT,
|
|
COL174 TEXT,
|
|
COL175 TEXT,
|
|
COL176 TEXT,
|
|
COL177 TEXT,
|
|
COL178 TEXT,
|
|
COL179 TEXT,
|
|
COL180 TEXT,
|
|
COL181 TEXT,
|
|
COL182 TEXT,
|
|
COL183 TEXT,
|
|
COL184 TEXT,
|
|
COL185 TEXT,
|
|
COL186 TEXT,
|
|
COL187 TEXT,
|
|
COL188 TEXT,
|
|
COL189 TEXT,
|
|
COL190 TEXT,
|
|
COL191 TEXT,
|
|
COL192 TEXT,
|
|
COL193 TEXT,
|
|
COL194 TEXT,
|
|
COL195 TEXT,
|
|
COL196 TEXT,
|
|
COL197 TEXT)
|
|
row_format=dynamic,ENGINE=INNODB;
|
|
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
|
CREATE TABLE t2(COL1 TEXT,
|
|
COL2 TEXT,
|
|
COL3 TEXT,
|
|
COL4 TEXT,
|
|
COL5 TEXT,
|
|
COL6 TEXT,
|
|
COL7 TEXT,
|
|
COL8 TEXT,
|
|
COL9 TEXT,
|
|
COL10 TEXT,
|
|
COL11 TEXT,
|
|
COL12 TEXT,
|
|
COL13 TEXT,
|
|
COL14 TEXT,
|
|
COL15 TEXT,
|
|
COL16 TEXT,
|
|
COL17 TEXT,
|
|
COL18 TEXT,
|
|
COL19 TEXT,
|
|
COL20 TEXT,
|
|
COL21 TEXT,
|
|
COL22 TEXT,
|
|
COL23 TEXT,
|
|
COL24 TEXT,
|
|
COL25 TEXT,
|
|
COL26 TEXT,
|
|
COL27 TEXT,
|
|
COL28 TEXT,
|
|
COL29 TEXT,
|
|
COL30 TEXT,
|
|
COL31 TEXT,
|
|
COL32 TEXT,
|
|
COL33 TEXT,
|
|
COL34 TEXT,
|
|
COL35 TEXT,
|
|
COL36 TEXT,
|
|
COL37 TEXT,
|
|
COL38 TEXT,
|
|
COL39 TEXT,
|
|
COL40 TEXT,
|
|
COL41 TEXT,
|
|
COL42 TEXT,
|
|
COL43 TEXT,
|
|
COL44 TEXT,
|
|
COL45 TEXT,
|
|
COL46 TEXT,
|
|
COL47 TEXT,
|
|
COL48 TEXT,
|
|
COL49 TEXT,
|
|
COL50 TEXT,
|
|
COL51 TEXT,
|
|
COL52 TEXT,
|
|
COL53 TEXT,
|
|
COL54 TEXT,
|
|
COL55 TEXT,
|
|
COL56 TEXT,
|
|
COL57 TEXT,
|
|
COL58 TEXT,
|
|
COL59 TEXT,
|
|
COL60 TEXT,
|
|
COL61 TEXT,
|
|
COL62 TEXT,
|
|
COL63 TEXT,
|
|
COL64 TEXT,
|
|
COL65 TEXT,
|
|
COL66 TEXT,
|
|
COL67 TEXT,
|
|
COL68 TEXT,
|
|
COL69 TEXT,
|
|
COL70 TEXT,
|
|
COL71 TEXT,
|
|
COL72 TEXT,
|
|
COL73 TEXT,
|
|
COL74 TEXT,
|
|
COL75 TEXT,
|
|
COL76 TEXT,
|
|
COL77 TEXT,
|
|
COL78 TEXT,
|
|
COL79 TEXT,
|
|
COL80 TEXT,
|
|
COL81 TEXT,
|
|
COL82 TEXT,
|
|
COL83 TEXT,
|
|
COL84 TEXT,
|
|
COL85 TEXT,
|
|
COL86 TEXT,
|
|
COL87 TEXT,
|
|
COL88 TEXT,
|
|
COL89 TEXT,
|
|
COL90 TEXT,
|
|
COL91 TEXT,
|
|
COL92 TEXT,
|
|
COL93 TEXT,
|
|
COL94 TEXT,
|
|
COL95 TEXT,
|
|
COL96 TEXT,
|
|
COL97 TEXT,
|
|
COL98 TEXT,
|
|
COL99 TEXT,
|
|
COL100 TEXT,
|
|
COL101 TEXT,
|
|
COL102 TEXT,
|
|
COL103 TEXT,
|
|
COL104 TEXT,
|
|
COL105 TEXT,
|
|
COL106 TEXT,
|
|
COL107 TEXT,
|
|
COL108 TEXT,
|
|
COL109 TEXT,
|
|
COL110 TEXT,
|
|
COL111 TEXT,
|
|
COL112 TEXT,
|
|
COL113 TEXT,
|
|
COL114 TEXT,
|
|
COL115 TEXT,
|
|
COL116 TEXT,
|
|
COL117 TEXT,
|
|
COL118 TEXT,
|
|
COL119 TEXT,
|
|
COL120 TEXT,
|
|
COL121 TEXT,
|
|
COL122 TEXT,
|
|
COL123 TEXT,
|
|
COL124 TEXT,
|
|
COL125 TEXT,
|
|
COL126 TEXT,
|
|
COL127 TEXT,
|
|
COL128 TEXT,
|
|
COL129 TEXT,
|
|
COL130 TEXT,
|
|
COL131 TEXT,
|
|
COL132 TEXT,
|
|
COL133 TEXT,
|
|
COL134 TEXT,
|
|
COL135 TEXT,
|
|
COL136 TEXT,
|
|
COL137 TEXT,
|
|
COL138 TEXT,
|
|
COL139 TEXT,
|
|
COL140 TEXT,
|
|
COL141 TEXT,
|
|
COL142 TEXT,
|
|
COL143 TEXT,
|
|
COL144 TEXT,
|
|
COL145 TEXT,
|
|
COL146 TEXT,
|
|
COL147 TEXT,
|
|
COL148 TEXT,
|
|
COL149 TEXT,
|
|
COL150 TEXT,
|
|
COL151 TEXT,
|
|
COL152 TEXT,
|
|
COL153 TEXT,
|
|
COL154 TEXT,
|
|
COL155 TEXT,
|
|
COL156 TEXT,
|
|
COL157 TEXT,
|
|
COL158 TEXT,
|
|
COL159 TEXT,
|
|
COL160 TEXT,
|
|
COL161 TEXT,
|
|
COL162 TEXT,
|
|
COL163 TEXT,
|
|
COL164 TEXT,
|
|
COL165 TEXT,
|
|
COL166 TEXT,
|
|
COL167 TEXT,
|
|
COL168 TEXT,
|
|
COL169 TEXT,
|
|
COL170 TEXT,
|
|
COL171 TEXT,
|
|
COL172 TEXT,
|
|
COL173 TEXT,
|
|
COL174 TEXT,
|
|
COL175 TEXT,
|
|
COL176 TEXT,
|
|
COL177 TEXT,
|
|
COL178 TEXT,
|
|
COL179 TEXT,
|
|
COL180 TEXT,
|
|
COL181 TEXT,
|
|
COL182 TEXT,
|
|
COL183 TEXT,
|
|
COL184 TEXT,
|
|
COL185 TEXT,
|
|
COL186 TEXT,
|
|
COL187 TEXT,
|
|
COL188 TEXT,
|
|
COL189 TEXT,
|
|
COL190 TEXT,
|
|
COL191 TEXT,
|
|
COL192 TEXT,
|
|
COL193 TEXT,
|
|
COL194 TEXT,
|
|
COL195 TEXT,
|
|
COL196 TEXT,
|
|
COL197 TEXT)
|
|
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.
|