Skip to content

Commit 60525ad

Browse files
committed
Modified to avoid make index error (AVG_ROW_LENGTH=5)
1 parent 4a57263 commit 60525ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

storage/connect/mysql-test/connect/r/part_table.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ id msg
2323
CREATE TABLE xt3 (
2424
id INT KEY NOT NULL,
2525
msg VARCHAR(32))
26-
ENGINE=CONNECT TABLE_TYPE=CSV AVG_ROW_LENGTH=10;
26+
ENGINE=CONNECT TABLE_TYPE=CSV AVG_ROW_LENGTH=5;
2727
Warnings:
2828
Warning 1105 No file name. Table will use xt3.csv
2929
INSERT INTO xt3 VALUES(60,'sixty'),(81,'eighty one'),(72,'seventy two');
@@ -92,7 +92,7 @@ id msg
9292
EXPLAIN PARTITIONS
9393
SELECT * FROM t1 WHERE id = 81;
9494
id select_type table partitions type possible_keys key key_len ref rows Extra
95-
1 SIMPLE t1 3 ALL NULL NULL NULL NULL 4 Using where
95+
1 SIMPLE t1 3 ALL NULL NULL NULL NULL 6 Using where
9696
DELETE FROM t1;
9797
Warnings:
9898
Note 1105 xt1: 4 affected rows

storage/connect/mysql-test/connect/t/part_table.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ SELECT * FROM xt2;
2222
CREATE TABLE xt3 (
2323
id INT KEY NOT NULL,
2424
msg VARCHAR(32))
25-
ENGINE=CONNECT TABLE_TYPE=CSV AVG_ROW_LENGTH=10;
25+
ENGINE=CONNECT TABLE_TYPE=CSV AVG_ROW_LENGTH=5;
2626
INSERT INTO xt3 VALUES(60,'sixty'),(81,'eighty one'),(72,'seventy two');
2727
SELECT * FROM xt3;
2828

0 commit comments

Comments
 (0)