MySQL 8.0.40
Source Code Documentation
ft_update.cc File Reference
#include <math.h>
#include <sys/types.h>
#include <algorithm>
#include "my_byteorder.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "storage/myisam/ftdefs.h"
#include "storage/myisam/myisamdef.h"

Macros

#define THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT   1
 
#define GEE_THEY_ARE_ABSOLUTELY_IDENTICAL   0
 

Functions

void _mi_ft_segiterator_init (MI_INFO *info, uint keynr, const uchar *record, FT_SEG_ITERATOR *ftsi)
 
void _mi_ft_segiterator_dummy_init (const uchar *record, uint len, FT_SEG_ITERATOR *ftsi)
 
uint _mi_ft_segiterator (FT_SEG_ITERATOR *ftsi)
 
uint _mi_ft_parse (TREE *parsed, MI_INFO *info, uint keynr, const uchar *record, MYSQL_FTPARSER_PARAM *param, MEM_ROOT *mem_root)
 
FT_WORD_mi_ft_parserecord (MI_INFO *info, uint keynr, const uchar *record, MEM_ROOT *mem_root)
 
static int _mi_ft_store (MI_INFO *info, uint keynr, uchar *keybuf, FT_WORD *wlist, my_off_t filepos)
 
static int _mi_ft_erase (MI_INFO *info, uint keynr, uchar *keybuf, FT_WORD *wlist, my_off_t filepos)
 
int _mi_ft_cmp (MI_INFO *info, uint keynr, const uchar *rec1, const uchar *rec2)
 
int _mi_ft_update (MI_INFO *info, uint keynr, uchar *keybuf, const uchar *oldrec, const uchar *newrec, my_off_t pos)
 
int _mi_ft_add (MI_INFO *info, uint keynr, uchar *keybuf, const uchar *record, my_off_t pos)
 
int _mi_ft_del (MI_INFO *info, uint keynr, uchar *keybuf, const uchar *record, my_off_t pos)
 
uint _ft_make_key (MI_INFO *info, uint keynr, uchar *keybuf, FT_WORD *wptr, my_off_t filepos)
 
uint _mi_ft_convert_to_ft2 (MI_INFO *info, uint keynr, uchar *key)
 

Macro Definition Documentation

◆ GEE_THEY_ARE_ABSOLUTELY_IDENTICAL

#define GEE_THEY_ARE_ABSOLUTELY_IDENTICAL   0

◆ THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT

#define THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT   1

Function Documentation

◆ _ft_make_key()

uint _ft_make_key ( MI_INFO info,
uint  keynr,
uchar keybuf,
FT_WORD wptr,
my_off_t  filepos 
)

◆ _mi_ft_add()

int _mi_ft_add ( MI_INFO info,
uint  keynr,
uchar keybuf,
const uchar record,
my_off_t  pos 
)

◆ _mi_ft_cmp()

int _mi_ft_cmp ( MI_INFO info,
uint  keynr,
const uchar rec1,
const uchar rec2 
)

◆ _mi_ft_convert_to_ft2()

uint _mi_ft_convert_to_ft2 ( MI_INFO info,
uint  keynr,
uchar key 
)

◆ _mi_ft_del()

int _mi_ft_del ( MI_INFO info,
uint  keynr,
uchar keybuf,
const uchar record,
my_off_t  pos 
)

◆ _mi_ft_erase()

static int _mi_ft_erase ( MI_INFO info,
uint  keynr,
uchar keybuf,
FT_WORD wlist,
my_off_t  filepos 
)
static

◆ _mi_ft_parse()

uint _mi_ft_parse ( TREE parsed,
MI_INFO info,
uint  keynr,
const uchar record,
MYSQL_FTPARSER_PARAM param,
MEM_ROOT mem_root 
)

◆ _mi_ft_parserecord()

FT_WORD * _mi_ft_parserecord ( MI_INFO info,
uint  keynr,
const uchar record,
MEM_ROOT mem_root 
)

◆ _mi_ft_segiterator()

uint _mi_ft_segiterator ( FT_SEG_ITERATOR ftsi)

◆ _mi_ft_segiterator_dummy_init()

void _mi_ft_segiterator_dummy_init ( const uchar record,
uint  len,
FT_SEG_ITERATOR ftsi 
)

◆ _mi_ft_segiterator_init()

void _mi_ft_segiterator_init ( MI_INFO info,
uint  keynr,
const uchar record,
FT_SEG_ITERATOR ftsi 
)

◆ _mi_ft_store()

static int _mi_ft_store ( MI_INFO info,
uint  keynr,
uchar keybuf,
FT_WORD wlist,
my_off_t  filepos 
)
static

◆ _mi_ft_update()

int _mi_ft_update ( MI_INFO info,
uint  keynr,
uchar keybuf,
const uchar oldrec,
const uchar newrec,
my_off_t  pos 
)