~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_statrec.c

  • Committer: Brian Aker
  • Date: 2008-07-14 22:18:37 UTC
  • mfrom: (77.1.96 codestyle)
  • Revision ID: brian@tangent.org-20080714221837-oceoshx7fjkla9u3
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
234
234
    else
235
235
    {                                           /* We don't nead new info */
236
236
#ifndef UNSAFE_LOCKING
237
 
      if ((! cache_read || share->base.reclength > cache_length) &&
238
 
          share->tot_locks == 0)
239
 
      {                                         /* record not in cache */
240
 
        if (my_lock(share->kfile,F_RDLCK,0L,F_TO_EOF,
241
 
                    MYF(MY_SEEK_NOT_DONE) | info->lock_wait))
242
 
          DBUG_RETURN(my_errno);
243
 
        locked=1;
244
 
      }
 
237
      locked=1;
245
238
#else
246
239
      info->tmp_lock_type=F_RDLCK;
247
240
#endif