~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blackhole/ha_blackhole.cc

Merged up with staging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
using namespace std;
30
30
using namespace google;
31
31
 
32
 
static const string engine_name("BLACKHOLE");
33
 
 
34
32
#define BLACKHOLE_EXT ".blk"
35
33
 
36
34
static const char *ha_blackhole_exts[] = {
381
379
static int blackhole_init(drizzled::plugin::Registry &registry)
382
380
{
383
381
 
384
 
  blackhole_engine= new BlackholeEngine(engine_name);
 
382
  blackhole_engine= new BlackholeEngine("BLACKHOLE");
385
383
  registry.add(blackhole_engine);
386
384
  
387
385
  pthread_mutex_init(&blackhole_mutex, MY_MUTEX_INIT_FAST);