Skip to content

Commit 9c083cd

Browse files
committed
MariaRocks port: update test result for rocksdb.rocksdb_parts
- EXPLAIN is different - error message is - the output order is different, because MySQL knows when to use ha_partition::handle_unordered_scan_next_partition. Reading the table data without any ordering happens to produce MariaDB uses ha_partition::handle_ordered_index_scan for this index scan (this is a deficiency), which causes it to produce the row with pk=1 first. MariaDB uses
1 parent 59d7666 commit 9c083cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

storage/rocksdb/mysql-test/rocksdb/r/rocksdb_parts.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ insert into t1 values (11,20,20);
4747
insert into t1 values (12,20,20);
4848
explain select * from t1 force index(col1) where col1=10;
4949
id select_type table type possible_keys key key_len ref rows Extra
50-
1 SIMPLE t1 ref col1 col1 5 const 2000 NULL
50+
1 SIMPLE t1 ref col1 col1 5 const 2000
5151
select * from t1 force index(col1) where col1=10;
5252
pk col1 col2
53-
2 10 10
5453
1 10 10
54+
2 10 10
5555
select * from t1 use index () where col1=10;
5656
pk col1 col2
5757
2 10 10
@@ -94,7 +94,7 @@ drop table t1, t2;
9494
CREATE TABLE t1 (c1 INT NOT NULL, c2 CHAR(5)) PARTITION BY HASH(c1) PARTITIONS 4;
9595
INSERT INTO t1 VALUES(1,'a');
9696
RENAME TABLE t1 TO db3.t3;
97-
ERROR HY000: Error on rename of './test/t1' to './db3/t3' (errno: 122 - Internal (unspecified) error in handler)
97+
ERROR HY000: Error on rename of './test/t1' to './db3/t3' (errno: 122 "Internal (unspecified) error in handler")
9898
SELECT * FROM t1;
9999
c1 c2
100100
1 a

0 commit comments

Comments
 (0)