~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_iocache.cc

  • Committer: Brian Aker
  • Date: 2009-04-16 20:12:59 UTC
  • mfrom: (992.1.20 mordred)
  • Revision ID: brian@gaz-20090416201259-2x3czxb5hsdisr6h
Merge Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
    info->write_end = info->write_buffer + info->buffer_length;
249
249
    pthread_mutex_init(&info->append_buffer_lock,MY_MUTEX_INIT_FAST);
250
250
  }
251
 
#if defined(SAFE_MUTEX)
252
 
  else
253
 
  {
254
 
    /* Clear mutex so that safe_mutex will notice that it's not initialized */
255
 
    memset(&info->append_buffer_lock, 0, sizeof(info));
256
 
  }
257
 
#endif
258
251
 
259
252
  if (type == WRITE_CACHE)
260
253
    info->write_end=