diff options
Diffstat (limited to 'sql/structs.h')
-rw-r--r-- | sql/structs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/structs.h b/sql/structs.h index 3c651c491d3..77d0d435154 100644 --- a/sql/structs.h +++ b/sql/structs.h @@ -89,6 +89,15 @@ typedef struct st_key { uint extra_length; uint usable_key_parts; /* Should normally be = key_parts */ enum ha_key_alg algorithm; + /* + Note that parser is used when the table is opened for use, and + parser_name is used when the table is being created. + */ + union + { + struct st_plugin_int *parser; /* Fulltext [pre]parser */ + LEX_STRING *parser_name; /* Fulltext [pre]parser name */ + }; KEY_PART_INFO *key_part; char *name; /* Name of key */ /* |