Bug #18836 fulltext parser plugin is called recursively

Submitted: 6 Apr 2006 8:49 Modified: 10 Apr 2006 20:02
Reporter: Sergei Golubchik Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: User-defined functions ( UDF ) Severity:S3 (Non-critical)
Version:5.1 OS:
Assigned to: Sergei Golubchik CPU Architecture:Any

[6 Apr 2006 8:49] Sergei Golubchik
Description:
Fulltext parser plugin is called recursively: ftb_find_relevance* calls ftb_check_phrase*.
But the ftb_check_phrase* uses the same param as ftb_find_relevance*.
It means that when the latter wants to continue, the former has garbled the state of the parser plugin.

How to repeat:
 

Suggested fix:
Use different param's structures for ftb_find_relevance* and ftb_check_phrase*.
[6 Apr 2006 14:01] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/4562
[10 Apr 2006 18:45] Paul DuBois
Need the three-part version number that the fix was
pushed to.  Thanks.
[10 Apr 2006 19:57] Sergei Golubchik
5.1.9.

Let's say "for fulltext search in a boolean mode, and when fulltext parser plugin was used, a MYSQL_FTPARSER_PARAM::ftparser_state could've been corrupted by recursive calls to the plugin"
[10 Apr 2006 20:02] Paul DuBois
Noted in 5.1.9 changelog, using Serg's comment. :-)

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

Page generated in 0.052 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.