~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blackhole/ha_blackhole.cc

  • Committer: Brian Aker
  • Date: 2010-08-08 01:18:02 UTC
  • mto: (1698.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1696.
  • Revision ID: brian@gaz-20100808011802-go9sp57jxgmcgfxn
More encapsulation of thr_lock

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
  if (!(share= get_share(name)))
232
232
    return(HA_ERR_OUT_OF_MEM);
233
233
 
234
 
  thr_lock_data_init(&share->lock, &lock);
235
 
  return(0);
 
234
  lock.init(&share->lock);
 
235
  return 0;
236
236
}
237
237
 
238
238
int ha_blackhole::close(void)