Skip to content

Commit

Permalink
Modified because different result on Windows and Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Buggynours committed Dec 5, 2018
1 parent 60525ad commit c2482c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions storage/connect/mysql-test/connect/r/part_table.result
Expand Up @@ -89,10 +89,9 @@ id msg
60 sixty
81 eighty one
72 seventy two
EXPLAIN PARTITIONS
SELECT * FROM t1 WHERE id = 81;
id select_type table partitions type possible_keys key key_len ref rows Extra
1 SIMPLE t1 3 ALL NULL NULL NULL NULL 6 Using where
id msg
81 eighty one
DELETE FROM t1;
Warnings:
Note 1105 xt1: 4 affected rows
Expand Down
2 changes: 1 addition & 1 deletion storage/connect/mysql-test/connect/t/part_table.test
Expand Up @@ -47,7 +47,7 @@ INSERT INTO t1 VALUES(7,'seven'),(10,'ten'),(40,'forty'),(60,'sixty'),(81,'eight
INSERT INTO t1 VALUES(72,'seventy two'),(11,'eleven'),(1,'one'),(35,'thirty five'),(8,'eight');
SELECT partition_name, table_rows FROM information_schema.partitions WHERE table_name = 't1';
SELECT * FROM t1;
EXPLAIN PARTITIONS
#EXPLAIN PARTITIONS deleted because it returns differeent key on Windows and Linux
SELECT * FROM t1 WHERE id = 81;
DELETE FROM t1;
DROP TABLE t1;
Expand Down

0 comments on commit c2482c7

Please sign in to comment.