~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_locking.c

  • Committer: Monty Taylor
  • Date: 2008-08-02 01:03:15 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080802010315-65h5938pymg9d99z
Moved m4 macros to top-level m4 dir, per GNU standards (and where gettext wanted it :)

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 (bool) !(info->s->state.dellink == HA_OFFSET_ERROR ||
 
334
  return (my_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
}