Commit f2219fe9 authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-11462: MariaRocks: rocksdb.type_float_indexes fails

Also do similar result updates for:
- rocksdb.type_date_time_indexese
- rocksdb.type_fixed_indexes
parent 9668b705
......@@ -95,7 +95,7 @@ INSERT INTO t1 (d,dt,ts,t,y,pk) VALUES
(DATE(@tm),@tm,TIMESTAMP(@tm),TIME(@tm),YEAR(@tm),'23:18:18');
EXPLAIN SELECT y, COUNT(*) FROM t1 GROUP BY y;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index y y 6 NULL # Using index
1 SIMPLE t1 index NULL y 6 NULL # Using index
SELECT y, COUNT(*) FROM t1 GROUP BY y;
y COUNT(*)
1994 1
......@@ -106,7 +106,7 @@ y COUNT(*)
2012 1
EXPLAIN SELECT y, COUNT(*) FROM t1 USE INDEX FOR GROUP BY () GROUP BY y;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index y y 6 NULL # Using index; Using temporary; Using filesort
1 SIMPLE t1 index NULL y 6 NULL # Using index; Using temporary; Using filesort
SELECT y, COUNT(*) FROM t1 USE INDEX FOR GROUP BY () GROUP BY y;
y COUNT(*)
1994 1
......
......@@ -70,7 +70,7 @@ Warnings:
Warning 1264 Out of range value for column 'd1' at row 6
EXPLAIN SELECT DISTINCT n1+n2 FROM t1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index n1_n2 n1_n2 37 NULL # Using index; Using temporary
1 SIMPLE t1 index NULL n1_n2 37 NULL # Using index; Using temporary
SELECT DISTINCT n1+n2 FROM t1;
n1+n2
0.0000
......@@ -105,7 +105,7 @@ Warnings:
Warning 1264 Out of range value for column 'd1' at row 6
EXPLAIN SELECT d2, COUNT(*) FROM t1 GROUP BY d2;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index d2 d2 29 NULL # Using index
1 SIMPLE t1 index NULL d2 29 NULL # Using index
SELECT d2, COUNT(*) FROM t1 GROUP BY d2;
d2 COUNT(*)
0.0000000000 1
......@@ -116,7 +116,7 @@ d2 COUNT(*)
60.1234500000 2
EXPLAIN SELECT d2, COUNT(*) FROM t1 IGNORE INDEX FOR GROUP BY (d2) GROUP BY d2;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index d2 d2 29 NULL # Using index; Using temporary; Using filesort
1 SIMPLE t1 index NULL d2 29 NULL # Using index; Using temporary; Using filesort
SELECT d2, COUNT(*) FROM t1 IGNORE INDEX FOR GROUP BY (d2) GROUP BY d2;
d2 COUNT(*)
0.0000000000 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment