diff options
| author | serg@serg.mysql.com <> | 2001-11-28 17:55:45 +0100 |
|---|---|---|
| committer | serg@serg.mysql.com <> | 2001-11-28 17:55:45 +0100 |
| commit | 4a5ca1073bd6e7f20beec01e83b6ad8bdd29af6d (patch) | |
| tree | caee073830ac75c7f6485bf0a5d92ffda5d16255 /include | |
| parent | 79258183fd6f94736b09690c587575bb2aaaf1eb (diff) | |
| download | mariadb-git-4a5ca1073bd6e7f20beec01e83b6ad8bdd29af6d.tar.gz | |
boolean fulltext search without an index
Diffstat (limited to 'include')
| -rw-r--r-- | include/ft_global.h | 2 | ||||
| -rw-r--r-- | include/my_base.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/ft_global.h b/include/ft_global.h index 52fb8d38a9a..064dd7a6538 100644 --- a/include/ft_global.h +++ b/include/ft_global.h @@ -32,7 +32,7 @@ extern "C" { typedef struct st_ft_info FT_INFO; struct _ft_vft { int (*read_next)(FT_INFO *, char *); - float (*find_relevance)(FT_INFO *, my_off_t, byte *); + float (*find_relevance)(FT_INFO *, byte *, uint); void (*close_search)(FT_INFO *); float (*get_relevance)(FT_INFO *); void (*reinit_search)(FT_INFO *); diff --git a/include/my_base.h b/include/my_base.h index adb2366f454..abd2ac602e5 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -226,6 +226,7 @@ enum ha_base_keytype { /* Other constants */ #define HA_NAMELEN 64 /* Max length of saved filename */ +#define NO_SUCH_KEY ((uint)~0) /* used as a key no. */ /* Intern constants in databases */ |
