~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 17:44:41 UTC
  • mto: (960.5.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 964.
  • Revision ID: mordred@inaugust.com-20090324174441-nmsq0gwjlgf7f0mt
Changed handlerton to StorageEngine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include <drizzled/table.h>
18
18
#include "ha_blackhole.h"
19
19
 
20
 
/* Static declarations for handlerton */
 
20
/* Static declarations for StorageEngine */
21
21
 
22
 
static handler *blackhole_create_handler(handlerton *hton,
 
22
static handler *blackhole_create_handler(StorageEngine *hton,
23
23
                                         TABLE_SHARE *table,
24
24
                                         MEM_ROOT *mem_root)
25
25
{
39
39
** BLACKHOLE tables
40
40
*****************************************************************************/
41
41
 
42
 
ha_blackhole::ha_blackhole(handlerton *hton,
 
42
ha_blackhole::ha_blackhole(StorageEngine *hton,
43
43
                           TABLE_SHARE *table_arg)
44
44
  :handler(hton, table_arg)
45
45
{}
269
269
 
270
270
static int blackhole_init(void *p)
271
271
{
272
 
  handlerton *blackhole_hton;
273
 
  blackhole_hton= (handlerton *)p;
 
272
  StorageEngine *blackhole_hton;
 
273
  blackhole_hton= (StorageEngine *)p;
274
274
  blackhole_hton->state= SHOW_OPTION_YES;
275
275
  blackhole_hton->create= blackhole_create_handler;
276
276
  blackhole_hton->flags= HTON_CAN_RECREATE;