~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_locking.c

  • Committer: Brian Aker
  • Date: 2008-08-09 06:20:11 UTC
  • Revision ID: brian@tangent.org-20080809062011-vkyz8gszh6jpk3ga
Converted myisam away from my_bool

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
    external lock (in other words: w_locks == 1 means no other threads has
332
332
    a write lock)
333
333
  */
334
 
  return (my_bool) !(info->s->state.dellink == HA_OFFSET_ERROR ||
 
334
  return (bool) !(info->s->state.dellink == HA_OFFSET_ERROR ||
335
335
                     (myisam_concurrent_insert == 2 && info->s->r_locks &&
336
336
                      info->s->w_locks == 1));
337
337
}