diff options
Diffstat (limited to 'mysql-test/main/fulltext_derived_4316.test')
-rw-r--r-- | mysql-test/main/fulltext_derived_4316.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/main/fulltext_derived_4316.test b/mysql-test/main/fulltext_derived_4316.test new file mode 100644 index 00000000..ecf4a0e7 --- /dev/null +++ b/mysql-test/main/fulltext_derived_4316.test @@ -0,0 +1,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; + |