summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/fulltext_derived_4316.test
blob: ecf4a0e7722a832a7502318de8fba97f6ef913b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# 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;