summaryrefslogtreecommitdiff
path: root/mysql-test/t/fulltext_derived_4257.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2013-07-10 02:05:06 +0400
committerAlexander Barkov <bar@mariadb.org>2013-07-10 02:05:06 +0400
commitc51ed128b0beef27b0d5ae6723d5a8ff7be87e30 (patch)
treeeda924a52aec8893ee2a247a18779f4863657ad9 /mysql-test/t/fulltext_derived_4257.test
parent1f3ec9800c6c186949302ba27f0137dfe7c0f5f5 (diff)
parent8a732d5a5eeb29b9fea1814cabcf083b55428939 (diff)
downloadmariadb-git-c51ed128b0beef27b0d5ae6723d5a8ff7be87e30.tar.gz
Merge from 5.3
Diffstat (limited to 'mysql-test/t/fulltext_derived_4257.test')
-rw-r--r--mysql-test/t/fulltext_derived_4257.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/fulltext_derived_4257.test b/mysql-test/t/fulltext_derived_4257.test
new file mode 100644
index 00000000000..07626b8b557
--- /dev/null
+++ b/mysql-test/t/fulltext_derived_4257.test
@@ -0,0 +1,6 @@
+set optimizer_switch = 'derived_merge=on';
+create table t1 (c1 char(8), c2 char(8)) engine=myisam;
+insert into t1 values ('test1','test2'),('test3','test4');
+select * from (select c1 from t1 where match (c2) against ('hello' in boolean mode)) as alias;
+drop table t1;
+