~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-26 08:22:57 UTC
  • mto: (968.2.25 mordred)
  • mto: This revision was merged to the branch mainline in revision 971.
  • Revision ID: mordred@inaugust.com-20090326082257-prliu70n35f2okqe
Moved flags into private area.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
class Tina : public StorageEngine
108
108
{
109
109
public:
110
 
  Tina(const string& name_arg) : StorageEngine(name_arg) {}
 
110
  Tina(const string& name_arg)
 
111
   : StorageEngine(name_arg, HTON_CAN_RECREATE | HTON_SUPPORT_LOG_TABLES |
 
112
                             HTON_NO_PARTITION) {}
111
113
  virtual handler *create(TABLE_SHARE *table,
112
114
                          MEM_ROOT *mem_root)
113
115
  {
124
126
  pthread_mutex_init(&tina_mutex,MY_MUTEX_INIT_FAST);
125
127
  (void) hash_init(&tina_open_tables,system_charset_info,32,0,0,
126
128
                   (hash_get_key) tina_get_key,0,0);
127
 
  tina_engine->flags= (HTON_CAN_RECREATE | HTON_SUPPORT_LOG_TABLES |
128
 
                     HTON_NO_PARTITION);
129
129
  *engine= tina_engine;
130
130
  return 0;
131
131
}