1#
2# MATCH on the derived tables
3#
4
5#
6# MDEV-4316 MariaDB server crash with signal 11
7#
8
9create table t1 (ft text) engine=myisam;
10insert into t1 values ('test1'),('test2');
11select distinct match(ft) against("test1" in boolean mode) from
12        (select distinct ft from t1) as t;
13drop table t1;
14
15