126
129
if (info->s->file_read(info, info->rec_buff, info->s->base.reclength,
130
133
if (memcmp(info->rec_buff, old,
131
134
(uint) info->s->base.reclength))
133
138
my_errno=HA_ERR_RECORD_CHANGED; /* Record have changed */
141
146
int _mi_cmp_static_unique(MI_INFO *info, MI_UNIQUEDEF *def,
144
151
info->rec_cache.seek_not_done=1; /* We have done a seek */
145
152
if (info->s->file_read(info, info->rec_buff, info->s->base.reclength,
148
return(mi_unique_comp(def, record, info->rec_buff,
155
DBUG_RETURN(mi_unique_comp(def, record, info->rec_buff,