diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2023-02-21 10:57:52 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2023-02-21 18:48:59 +0530 |
commit | df9f9ba12bc0f2a564d05319173efc1602d2edd9 (patch) | |
tree | 207a4102712ca63f4e936cae9e685558887f0b54 /mysql-test/suite | |
parent | a474e3278c202d5b429134071cedada3d525af95 (diff) | |
download | mariadb-git-df9f9ba12bc0f2a564d05319173efc1602d2edd9.tar.gz |
MDEV-29871 innodb_fts.fulltext_misc unexpectedly reports a result
- match()+0 returns the floating result and converts into integer value
and it leads to sporadic failure.
Diffstat (limited to 'mysql-test/suite')
-rw-r--r-- | mysql-test/suite/innodb_fts/r/fulltext_misc.result | 3 | ||||
-rw-r--r-- | mysql-test/suite/innodb_fts/t/fulltext_misc.test | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/mysql-test/suite/innodb_fts/r/fulltext_misc.result b/mysql-test/suite/innodb_fts/r/fulltext_misc.result index c58cf5ba62c..69812ff8b72 100644 --- a/mysql-test/suite/innodb_fts/r/fulltext_misc.result +++ b/mysql-test/suite/innodb_fts/r/fulltext_misc.result @@ -129,8 +129,9 @@ test select * from t1 where a like "te_t"; a test -select * from t1 where match a against ("te*" in boolean mode)+0; +select * from t1 where match a against ("te*" in boolean mode); a +test drop table t1; # # Bug #49734: Crash on EXPLAIN EXTENDED UNION ... ORDER BY diff --git a/mysql-test/suite/innodb_fts/t/fulltext_misc.test b/mysql-test/suite/innodb_fts/t/fulltext_misc.test index 7a1ddd98d2b..083953a44ce 100644 --- a/mysql-test/suite/innodb_fts/t/fulltext_misc.test +++ b/mysql-test/suite/innodb_fts/t/fulltext_misc.test @@ -152,10 +152,7 @@ insert into t1 values ("a"),("abc"),("abcd"),("hello"),("test"); select * from t1 where a like "abc%"; select * from t1 where a like "test%"; select * from t1 where a like "te_t"; -# InnoDB_FTS: we don't support the postfix "+0" -# Work around MDEV-29871 (FIXME: remove this) ---echo select * from t1 where match a against ("te*" in boolean mode)+0; ---echo a +select * from t1 where match a against ("te*" in boolean mode); drop table t1; |