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

Functions

bool mi_check_unique (MI_INFO *info, MI_UNIQUEDEF *def, uchar *record, ha_checksum unique_hash, my_off_t disk_pos)
 
ha_checksum mi_unique_hash (MI_UNIQUEDEF *def, const uchar *record)
 
int mi_unique_comp (MI_UNIQUEDEF *def, const uchar *a, const uchar *b, bool null_are_equal)
 

Function Documentation

◆ mi_check_unique()

bool mi_check_unique ( MI_INFO info,
MI_UNIQUEDEF def,
uchar record,
ha_checksum  unique_hash,
my_off_t  disk_pos 
)

◆ mi_unique_comp()

int mi_unique_comp ( MI_UNIQUEDEF def,
const uchar a,
const uchar b,
bool  null_are_equal 
)

◆ mi_unique_hash()

ha_checksum mi_unique_hash ( MI_UNIQUEDEF def,
const uchar record 
)