diff options
author | unknown <svoj@april.(none)> | 2006-02-07 15:30:32 +0400 |
---|---|---|
committer | unknown <svoj@april.(none)> | 2006-02-07 15:30:32 +0400 |
commit | 79f6936d738439d6e42da3ef89225fdaea318b54 (patch) | |
tree | 8402a8f523d327a012699cec8afb0c2562b02d51 /mysql-test/t/fulltext.test | |
parent | 96268d4a9a375fdd6e7effe530f26261bbd01d55 (diff) | |
parent | a525b294704e7035ff6f8d3ef20f56fbbe251a98 (diff) | |
download | mariadb-git-79f6936d738439d6e42da3ef89225fdaea318b54.tar.gz |
Merge april.(none):/home/svoj/devel/mysql/merge/mysql-4.1
into april.(none):/home/svoj/devel/mysql/merge/mysql-5.0
mysql-test/r/fulltext.result:
Manual merge.
mysql-test/t/fulltext.test:
Manual merge.
sql/item_func.h:
Manual merge.
sql/sql_base.cc:
Manual merge: use local.
Diffstat (limited to 'mysql-test/t/fulltext.test')
-rw-r--r-- | mysql-test/t/fulltext.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/fulltext.test b/mysql-test/t/fulltext.test index a90344784cd..91033fe2ba9 100644 --- a/mysql-test/t/fulltext.test +++ b/mysql-test/t/fulltext.test @@ -365,4 +365,16 @@ CREATE TABLE t1 (a VARCHAR(10000), FULLTEXT(a)); SHOW CREATE TABLE t1; DROP TABLE t1; +# +# BUG#14496: Crash or strange results with prepared statement, +# MATCH and FULLTEXT +# +CREATE TABLE t1 (a TEXT, FULLTEXT KEY(a)); +INSERT INTO t1 VALUES('test'),('test1'),('test'); +PREPARE stmt from "SELECT a, MATCH(a) AGAINST('test1 test') FROM t1 WHERE MATCH(a) AGAINST('test1 test')"; +EXECUTE stmt; +EXECUTE stmt; +DEALLOCATE PREPARE stmt; +DROP TABLE t1; + # End of 4.1 tests |