diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mysql/plugin_audit.h.pp | 1 | ||||
-rw-r--r-- | include/mysql/plugin_auth.h.pp | 1 | ||||
-rw-r--r-- | include/mysql/plugin_encryption.h.pp | 1 | ||||
-rw-r--r-- | include/mysql/plugin_ftparser.h | 6 | ||||
-rw-r--r-- | include/mysql/plugin_ftparser.h.pp | 1 | ||||
-rw-r--r-- | include/mysql/plugin_password_validation.h.pp | 1 |
6 files changed, 10 insertions, 1 deletions
diff --git a/include/mysql/plugin_audit.h.pp b/include/mysql/plugin_audit.h.pp index 410781669ba..31ce06ceb92 100644 --- a/include/mysql/plugin_audit.h.pp +++ b/include/mysql/plugin_audit.h.pp @@ -453,6 +453,7 @@ typedef struct st_mysql_ftparser_boolean_info int weight_adjust; char wasign; char trunc; + int position; char prev; char *quot; } MYSQL_FTPARSER_BOOLEAN_INFO; diff --git a/include/mysql/plugin_auth.h.pp b/include/mysql/plugin_auth.h.pp index 62061f74274..76b8dfe4c59 100644 --- a/include/mysql/plugin_auth.h.pp +++ b/include/mysql/plugin_auth.h.pp @@ -453,6 +453,7 @@ typedef struct st_mysql_ftparser_boolean_info int weight_adjust; char wasign; char trunc; + int position; char prev; char *quot; } MYSQL_FTPARSER_BOOLEAN_INFO; diff --git a/include/mysql/plugin_encryption.h.pp b/include/mysql/plugin_encryption.h.pp index 1277147e55f..b0a98e294eb 100644 --- a/include/mysql/plugin_encryption.h.pp +++ b/include/mysql/plugin_encryption.h.pp @@ -453,6 +453,7 @@ typedef struct st_mysql_ftparser_boolean_info int weight_adjust; char wasign; char trunc; + int position; char prev; char *quot; } MYSQL_FTPARSER_BOOLEAN_INFO; diff --git a/include/mysql/plugin_ftparser.h b/include/mysql/plugin_ftparser.h index 8db8712926f..2c35ee94cc8 100644 --- a/include/mysql/plugin_ftparser.h +++ b/include/mysql/plugin_ftparser.h @@ -26,7 +26,7 @@ extern "C" { API for Full-text parser plugin. (MYSQL_FTPARSER_PLUGIN) */ -#define MYSQL_FTPARSER_INTERFACE_VERSION 0x0100 +#define MYSQL_FTPARSER_INTERFACE_VERSION 0x0101 /* Parsing modes. Set in MYSQL_FTPARSER_PARAM::mode */ enum enum_ftparser_mode @@ -115,6 +115,9 @@ enum enum_ft_token_type trunc: Corresponds to the '*' operator in the default setting of the ft_boolean_syntax system variable. + + position: Start position in bytes of the word in the document, + used by InnoDB FTS */ typedef struct st_mysql_ftparser_boolean_info @@ -124,6 +127,7 @@ typedef struct st_mysql_ftparser_boolean_info int weight_adjust; char wasign; char trunc; + int position; /* These are parser state and must be removed. */ char prev; char *quot; diff --git a/include/mysql/plugin_ftparser.h.pp b/include/mysql/plugin_ftparser.h.pp index 85c6700227f..06e6c946902 100644 --- a/include/mysql/plugin_ftparser.h.pp +++ b/include/mysql/plugin_ftparser.h.pp @@ -496,6 +496,7 @@ typedef struct st_mysql_ftparser_boolean_info int weight_adjust; char wasign; char trunc; + int position; char prev; char *quot; } MYSQL_FTPARSER_BOOLEAN_INFO; diff --git a/include/mysql/plugin_password_validation.h.pp b/include/mysql/plugin_password_validation.h.pp index 25eb5425e52..587b454ecc8 100644 --- a/include/mysql/plugin_password_validation.h.pp +++ b/include/mysql/plugin_password_validation.h.pp @@ -453,6 +453,7 @@ typedef struct st_mysql_ftparser_boolean_info int weight_adjust; char wasign; char trunc; + int position; char prev; char *quot; } MYSQL_FTPARSER_BOOLEAN_INFO; |