summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorunknown <svoj@mysql.com>2005-05-07 15:48:56 +0500
committerunknown <svoj@mysql.com>2005-05-07 15:48:56 +0500
commit1392f4820aba16e2349a46962d8b7c7cddadd800 (patch)
treef713be1c364ea77bd416044efc9bd42ed9a007e5 /mysql-test/t
parent079910b6f1bc7cbb1a9425bf0e49775e4c41d365 (diff)
downloadmariadb-git-1392f4820aba16e2349a46962d8b7c7cddadd800.tar.gz
BUG#7709 fix - Boolean fulltext query against unsupported engines does not
fail. mysql-test/r/innodb.result: Test case for BUG#7709 - Boolean fulltext query against unsupported engines does not fail added. mysql-test/t/innodb.test: Test case for BUG#7709 - Boolean fulltext query against unsupported engines does not fail added. sql/item_func.cc: Check if table supports fulltext. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/innodb.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/innodb.test b/mysql-test/t/innodb.test
index 2c8002ea841..c25f295cac8 100644
--- a/mysql-test/t/innodb.test
+++ b/mysql-test/t/innodb.test
@@ -911,3 +911,12 @@ delete from t1 where id=15;
delete from t1 where id=0;
drop table t1;
+
+#
+# BUG#7709 test case - Boolean fulltext query against unsupported
+# engines does not fail
+#
+
+CREATE TABLE t1 ( a char(10) ) ENGINE=InnoDB;
+--error 1214;
+SELECT a FROM t1 WHERE MATCH (a) AGAINST ('test' IN BOOLEAN MODE);