16
16
/* Functions to check if a row is unique */
21
my_bool mi_check_unique(MI_INFO *info, MI_UNIQUEDEF *def, uchar *record,
30
25
MI_KEYDEF *key= &info->s->keyinfo[def->key];
33
29
mi_unique_store(record+key->seg->start, unique_hash);
34
30
_mi_make_key(info,def->key,key_buff,record,0);