summaryrefslogtreecommitdiff
path: root/storage/myisam/ft_static.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/myisam/ft_static.c')
-rw-r--r--storage/myisam/ft_static.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/storage/myisam/ft_static.c b/storage/myisam/ft_static.c
index e221950f445..6cfb0d59e62 100644
--- a/storage/myisam/ft_static.c
+++ b/storage/myisam/ft_static.c
@@ -626,3 +626,14 @@ const char *ft_precompiled_stopwords[] = {
#endif
NULL };
+
+static int ft_default_parser_parse(MYSQL_FTPARSER_PARAM *param)
+{
+ return param->mysql_parse(param->mysql_ftparam, param->doc, param->length);
+}
+
+struct st_mysql_ftparser ft_default_parser=
+{
+ MYSQL_FTPARSER_INTERFACE_VERSION, ft_default_parser_parse, 0, 0
+};
+