summaryrefslogtreecommitdiff
path: root/storage/myisam/ftdefs.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2006-04-06 16:03:04 +0200
committerunknown <serg@serg.mylan>2006-04-06 16:03:04 +0200
commit80aebe22ab6d22d686d1ec1491accdc381bdfc4f (patch)
treefbae0fe32ac0c15c9710fe595887251a55460bf2 /storage/myisam/ftdefs.h
parent41b4253038b93ad90403f75d50d085d86d8621b1 (diff)
downloadmariadb-git-80aebe22ab6d22d686d1ec1491accdc381bdfc4f.tar.gz
Bug#18836 - fulltext parser plugin is called recursively.
Don't use the same param in recursive call. Also, the fix makes it safe for a plugin to replace param->mysql_add_word storage/myisam/ft_nlq_search.c: Bug#18836 - fulltext parser plugin is called recursively. Don't use the same param in recursive call. storage/myisam/ft_update.c: Bug#18836 - fulltext parser plugin is called recursively. Don't use the same param in recursive call. storage/myisam/ftdefs.h: Bug#18836 - fulltext parser plugin is called recursively. Don't use the same param in recursive call.
Diffstat (limited to 'storage/myisam/ftdefs.h')
-rw-r--r--storage/myisam/ftdefs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/myisam/ftdefs.h b/storage/myisam/ftdefs.h
index 175f34df102..2c4cfa1ffd6 100644
--- a/storage/myisam/ftdefs.h
+++ b/storage/myisam/ftdefs.h
@@ -145,5 +145,6 @@ float ft_boolean_get_relevance(FT_INFO *);
my_off_t ft_boolean_get_docid(FT_INFO *);
void ft_boolean_reinit_search(FT_INFO *);
extern MYSQL_FTPARSER_PARAM *ftparser_call_initializer(MI_INFO *info,
- uint keynr);
+ uint keynr,
+ uint paramnr);
extern void ftparser_call_deinitializer(MI_INFO *info);