~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/csv/ha_tina.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:
75
75
/* Stuff for shares */
76
76
pthread_mutex_t tina_mutex;
77
77
static HASH tina_open_tables;
78
 
static handler *tina_create_handler(handlerton *hton,
 
78
static handler *tina_create_handler(StorageEngine *hton,
79
79
                                    TABLE_SHARE *table,
80
80
                                    MEM_ROOT *mem_root);
81
81
 
104
104
 
105
105
static int tina_init_func(void *p)
106
106
{
107
 
  handlerton *tina_hton;
 
107
  StorageEngine *tina_hton;
108
108
 
109
 
  tina_hton= (handlerton *)p;
 
109
  tina_hton= (StorageEngine *)p;
110
110
  pthread_mutex_init(&tina_mutex,MY_MUTEX_INIT_FAST);
111
111
  (void) hash_init(&tina_open_tables,system_charset_info,32,0,0,
112
112
                   (hash_get_key) tina_get_key,0,0);
416
416
}
417
417
 
418
418
 
419
 
static handler *tina_create_handler(handlerton *hton,
 
419
static handler *tina_create_handler(StorageEngine *hton,
420
420
                                    TABLE_SHARE *table,
421
421
                                    MEM_ROOT *mem_root)
422
422
{
424
424
}
425
425
 
426
426
 
427
 
ha_tina::ha_tina(handlerton *hton, TABLE_SHARE *table_arg)
 
427
ha_tina::ha_tina(StorageEngine *hton, TABLE_SHARE *table_arg)
428
428
  :handler(hton, table_arg),
429
429
  /*
430
430
    These definitions are found in handler.h