~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/blackhole/ha_blackhole.cc

  • Committer: Monty Taylor
  • Date: 2009-03-24 18:05:25 UTC
  • mto: (960.5.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 964.
  • Revision ID: mordred@inaugust.com-20090324180525-ok5metxsa5yor53k
First step of hton rename.

Show diffs side-by-side

added added

removed removed

Lines of Context:
269
269
 
270
270
static int blackhole_init(void *p)
271
271
{
272
 
  StorageEngine *blackhole_hton;
273
 
  blackhole_hton= (StorageEngine *)p;
274
 
  blackhole_hton->state= SHOW_OPTION_YES;
275
 
  blackhole_hton->create= blackhole_create_handler;
276
 
  blackhole_hton->flags= HTON_CAN_RECREATE;
 
272
  StorageEngine *blackhole_engine;
 
273
  blackhole_engine= (StorageEngine *)p;
 
274
  blackhole_engine->state= SHOW_OPTION_YES;
 
275
  blackhole_engine->create= blackhole_create_handler;
 
276
  blackhole_engine->flags= HTON_CAN_RECREATE;
277
277
 
278
278
  pthread_mutex_init(&blackhole_mutex, MY_MUTEX_INIT_FAST);
279
279
  (void) hash_init(&blackhole_open_tables, system_charset_info,32,0,0,