diff options
author | serg@serg.mylan <> | 2006-05-28 17:02:50 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2006-05-28 17:02:50 +0200 |
commit | 60e3b617862cbc3a766f60a18de1fd2d0d9ec603 (patch) | |
tree | 6c103c1bc07584b158605a885c7101660271d97a /plugin | |
parent | 9874a762526d14bb05a1d799cf6e9c863782f010 (diff) | |
download | mariadb-git-60e3b617862cbc3a766f60a18de1fd2d0d9ec603.tar.gz |
Incompatible ftparser plugin API change.
mysql_parse() and mysql_add_word() now take a MYSQL_FTPARSER_PARAM*,
not a mysql_ftparam.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/fulltext/plugin_example.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/fulltext/plugin_example.c b/plugin/fulltext/plugin_example.c index 9b937453ce4..eefb10bd26b 100644 --- a/plugin/fulltext/plugin_example.c +++ b/plugin/fulltext/plugin_example.c @@ -144,10 +144,7 @@ static void add_word(MYSQL_FTPARSER_PARAM *param, char *word, size_t len) MYSQL_FTPARSER_BOOLEAN_INFO bool_info= { FT_TOKEN_WORD, 0, 0, 0, 0, ' ', 0 }; - if (param->mode == MYSQL_FTPARSER_FULL_BOOLEAN_INFO) - param->mysql_add_word(param->mysql_ftparam, word, len, &bool_info); - else - param->mysql_add_word(param->mysql_ftparam, word, len, 0); + param->mysql_add_word(param, word, len, &bool_info); } /* |