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