Bug #69626 InnoDB fulltext should return syntax error in boolean mode for leading '*'

Submitted: 1 Jul 2013 4:04 Modified: 6 Jul 2013 6:58
Reporter: Shaohua Wang Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: FULLTEXT search Severity:S4 (Feature request)
Version:5.6.13 OS:Any
Assigned to: CPU Architecture:Any

[1 Jul 2013 4:04] Shaohua Wang
Description:
In order to keep backword compatibility with MyISAM, we ignores leading '*' in InnoDB.(original bug: http://bugs.mysql.com/bug.php?id=68948).

But we plan to deprecate it in 5.8 or later for we still think 'syntax error' is the right behavior.

If you think this affect you, please click the "Affects Me" button. Any comments are welcomed.

How to repeat:
match(content) against('*complicate*' in boolean mode);

returns result just like

match(content) against('complicate*' in boolean mode);

the leading '*' is ignored.

Suggested fix:
Return 'syntax error' when there is a leading '*'.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.