mariadb/mysql-test/main/fulltext_derived_4316.test
2018-03-29 13:59:44 +03:00

14 lines
296 B
Text

#
# MATCH on the derived tables
#
#
# MDEV-4316 MariaDB server crash with signal 11
#
create table t1 (ft text) engine=myisam;
insert into t1 values ('test1'),('test2');
select distinct match(ft) against("test1" in boolean mode) from
(select distinct ft from t1) as t;
drop table t1;