mariadb/storage/tokudb/mysql-test/tokudb_bugs/r/1648.result
2016-04-26 20:56:25 +02:00

11 lines
393 B
Text

SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
create table foo (a blob, key (a(3)))engine=tokudb;
insert into foo value ("asfdasdfasdfasdf");
explain select * from foo where a like 'asf%';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo range a a 6 NULL 1 Using where
select * from foo where a like 'asf%';
a
asfdasdfasdfasdf
DROP TABLE foo;