Skip to content

Commit

Permalink
MariaRocks port: update result for rocksdb.type_char_indexes (see MDE…
Browse files Browse the repository at this point in the history
…V-11172)
  • Loading branch information
spetrunia committed Oct 29, 2016
1 parent 15f2bcf commit 4462e77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4462e77

Please sign in to comment.