diff options
author | unknown <serg@serg.mylan> | 2006-05-28 17:02:50 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2006-05-28 17:02:50 +0200 |
commit | f1bb09e777427145f614c52488ead02a62e062e2 (patch) | |
tree | 6c103c1bc07584b158605a885c7101660271d97a /plugin | |
parent | f04b7da96fba46b73466efdc4f1d6aa3f3426988 (diff) | |
download | mariadb-git-f1bb09e777427145f614c52488ead02a62e062e2.tar.gz |
Incompatible ftparser plugin API change.
mysql_parse() and mysql_add_word() now take a MYSQL_FTPARSER_PARAM*,
not a mysql_ftparam.
client/Makefile.am:
don't fail when rm cannot delete from read-only dir
sql/sql_plugin.cc:
fix min_plugin_info_interface_version to be less error-prone
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); } /* |