MySQL 9.1.0
Source Code Documentation
mi_delete.cc File Reference
#include <errno.h>
#include <fcntl.h>
#include <sys/types.h>
#include "my_byteorder.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "storage/myisam/fulltext.h"
#include "storage/myisam/myisamdef.h"
#include "storage/myisam/rt_index.h"

Functions

static int d_search (MI_INFO *info, MI_KEYDEF *keyinfo, uint comp_flag, uchar *key, uint key_length, my_off_t page, uchar *anc_buff)
 
static int del (MI_INFO *info, MI_KEYDEF *keyinfo, uchar *key, uchar *anc_buff, my_off_t leaf_page, uchar *leaf_buff, uchar *keypos, my_off_t next_block, uchar *ret_key)
 
static int underflow (MI_INFO *info, MI_KEYDEF *keyinfo, uchar *anc_buff, my_off_t leaf_page, uchar *leaf_buff, uchar *keypos)
 
static uint remove_key (MI_KEYDEF *keyinfo, uint nod_flag, uchar *keypos, uchar *lastkey, uchar *page_end, my_off_t *next_block)
 
static int _mi_ck_real_delete (MI_INFO *info, MI_KEYDEF *keyinfo, uchar *key, uint key_length, my_off_t *root)
 
int mi_delete (MI_INFO *info, const uchar *record)
 
int _mi_ck_delete (MI_INFO *info, uint keynr, uchar *key, uint key_length)
 

Function Documentation

◆ _mi_ck_delete()

int _mi_ck_delete ( MI_INFO info,
uint  keynr,
uchar key,
uint  key_length 
)

◆ _mi_ck_real_delete()

static int _mi_ck_real_delete ( MI_INFO info,
MI_KEYDEF keyinfo,
uchar key,
uint  key_length,
my_off_t root 
)
static

◆ d_search()

static int d_search ( MI_INFO info,
MI_KEYDEF keyinfo,
uint  comp_flag,
uchar key,
uint  key_length,
my_off_t  page,
uchar anc_buff 
)
static

◆ del()

static int del ( MI_INFO info,
MI_KEYDEF keyinfo,
uchar key,
uchar anc_buff,
my_off_t  leaf_page,
uchar leaf_buff,
uchar keypos,
my_off_t  next_block,
uchar ret_key 
)
static

◆ mi_delete()

int mi_delete ( MI_INFO info,
const uchar record 
)

◆ remove_key()

static uint remove_key ( MI_KEYDEF keyinfo,
uint  nod_flag,
uchar keypos,
uchar lastkey,
uchar page_end,
my_off_t next_block 
)
static

◆ underflow()

static int underflow ( MI_INFO info,
MI_KEYDEF keyinfo,
uchar anc_buff,
my_off_t  leaf_page,
uchar leaf_buff,
uchar keypos 
)
static