MySQL  8.0.19
Source Code Documentation
fts0plugin.h File Reference
#include "ha_prototypes.h"

Go to the source code of this file.

Macros

#define PARSER_INIT(parser, arg)
 
#define PARSER_DEINIT(parser, arg)
 

Functions

int fts_parse_by_parser (ibool mode, uchar *query, ulint len, st_mysql_ftparser *parse, fts_ast_state_t *state)
 fts parse query by plugin parser. More...
 

Variables

struct st_mysql_ftparser fts_default_parser
 

Detailed Description

Full text search plugin header file

Created 2013/06/04 Shaohua Wang

Macro Definition Documentation

◆ PARSER_DEINIT

#define PARSER_DEINIT (   parser,
  arg 
)
Value:
if (parser->deinit) { \
parser->deinit(arg); \
}

◆ PARSER_INIT

#define PARSER_INIT (   parser,
  arg 
)
Value:
if (parser->init) { \
parser->init(arg); \
}

Function Documentation

◆ fts_parse_by_parser()

int fts_parse_by_parser ( ibool  mode,
uchar query_str,
ulint  query_len,
st_mysql_ftparser parser,
fts_ast_state_t state 
)

fts parse query by plugin parser.

Returns
0 if parse successfully, or return non-zero. in: query parser state
0 if parse successfully, or return non-zero.

Variable Documentation

◆ fts_default_parser

struct st_mysql_ftparser fts_default_parser
parser
struct Parser parser