MariaRocks port: update result for rocksdb.type_char_indexes (see MDEV-11172)

This commit is contained in:
Sergei Petrunia 2016-10-29 13:23:42 +00:00
parent 15f2bcfa94
commit 4462e77afa

View file

@ -45,7 +45,7 @@ t1 1 v16 1 v16 A 500 NULL NULL YES LSMTREE
INSERT INTO t1 (c,c20,v16,v128,pk) VALUES ('a','char1','varchar1a','varchar1b','1'),('a','char2','varchar2a','varchar2b','2'),('b','char3','varchar1a','varchar1b','3'),('c','char4','varchar3a','varchar3b','4');
EXPLAIN SELECT SUBSTRING(v16,0,3) FROM t1 WHERE v16 LIKE 'varchar%';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index v16 v16 19 NULL # Using where; Using index
1 SIMPLE t1 index v16 v16 21 NULL # Using where; Using index
SELECT SUBSTRING(v16,7,3) FROM t1 WHERE v16 LIKE 'varchar%';
SUBSTRING(v16,7,3)
r1a