~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_statrec.cc

  • Committer: Mark Atwood
  • Date: 2011-09-14 03:30:42 UTC
  • mfrom: (2409.2.6 refactor7)
  • Revision ID: me@mark.atwood.name-20110914033042-2u0s8foaigvf62g2
mergeĀ lp:~olafvdspek/drizzle/refactor7

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
int _mi_read_static_record(register MI_INFO *info, register internal::my_off_t pos,
160
160
                           register unsigned char *record)
161
161
{
162
 
  int error;
163
 
 
164
162
  if (pos != HA_OFFSET_ERROR)
165
163
  {
166
164
    if (info->opt_flag & WRITE_CACHE_USED &&
169
167
      return(-1);
170
168
    info->rec_cache.seek_not_done=1;            /* We have done a seek */
171
169
 
172
 
    error=info->s->file_read(info, record, info->s->base.reclength,
173
 
                   pos,MYF(MY_NABP)) != 0;
 
170
    int error= info->s->file_read(info, record, info->s->base.reclength, pos,MYF(MY_NABP)) != 0;
174
171
    fast_mi_writeinfo(info);
175
172
    if (! error)
176
173
    {