MySQL 9.0.0
Source Code Documentation
HP_KEYDEF Struct Reference

#include <heap.h>

Public Attributes

uint flag {0}
 
uint keysegs {0}
 
uint length {0}
 
uint8 algorithm {0}
 
HA_KEYSEGseg {nullptr}
 
HP_BLOCK block
 
ha_rows hash_buckets {0}
 
TREE rb_tree
 
int(* write_key )(HP_INFO *info, HP_KEYDEF *keyinfo, const uchar *record, uchar *recpos)
 
int(* delete_key )(HP_INFO *info, HP_KEYDEF *keyinfo, const uchar *record, uchar *recpos, int flag)
 
uint(* get_key_length )(HP_KEYDEF *keydef, const uchar *key)
 

Member Data Documentation

◆ algorithm

uint8 HP_KEYDEF::algorithm {0}

◆ block

HP_BLOCK HP_KEYDEF::block

◆ delete_key

int(* HP_KEYDEF::delete_key) (HP_INFO *info, HP_KEYDEF *keyinfo, const uchar *record, uchar *recpos, int flag)
inline

◆ flag

uint HP_KEYDEF::flag {0}

◆ get_key_length

uint(* HP_KEYDEF::get_key_length) (HP_KEYDEF *keydef, const uchar *key)
inline

◆ hash_buckets

ha_rows HP_KEYDEF::hash_buckets {0}

◆ keysegs

uint HP_KEYDEF::keysegs {0}

◆ length

uint HP_KEYDEF::length {0}

◆ rb_tree

TREE HP_KEYDEF::rb_tree

◆ seg

HA_KEYSEG* HP_KEYDEF::seg {nullptr}

◆ write_key

int(* HP_KEYDEF::write_key) (HP_INFO *info, HP_KEYDEF *keyinfo, const uchar *record, uchar *recpos)
inline

The documentation for this struct was generated from the following file: