~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/csv/ha_tina.cc

  • Committer: Brian Aker
  • Date: 2009-12-01 02:39:03 UTC
  • mfrom: (1234.1.4 push)
  • Revision ID: brian@gaz-20091201023903-1id5z7xnup695jaq
Merge of Brian + Jay test fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
{
122
122
public:
123
123
  Tina(const string& name_arg)
124
 
   : drizzled::plugin::StorageEngine(name_arg, HTON_TEMPORARY_ONLY | 
125
 
                                     HTON_HAS_DATA_DICTIONARY | HTON_FILE_BASED) {}
 
124
   : drizzled::plugin::StorageEngine(name_arg,
 
125
                                     HTON_TEMPORARY_ONLY |
 
126
                                     HTON_NO_AUTO_INCREMENT |
 
127
                                     HTON_HAS_DATA_DICTIONARY |
 
128
                                     HTON_FILE_BASED) {}
126
129
  virtual Cursor *create(TableShare &table,
127
130
                          MEM_ROOT *mem_root)
128
131
  {
129
132
    return new (mem_root) ha_tina(*this, table);
130
133
  }
131
134
 
132
 
  uint64_t table_flags() const
133
 
  {
134
 
    return (HA_NO_TRANSACTIONS | HA_NO_AUTO_INCREMENT);
135
 
  }
136
 
 
137
135
  const char **bas_ext() const {
138
136
    return ha_tina_exts;
139
137
  }
140
138
 
141
 
  int doCreateTable(Session *, 
 
139
  int doCreateTable(Session *,
142
140
                    const char *table_name,
143
141
                    Table& table_arg,
144
142
                    drizzled::message::Table&);
154
152
  void doGetTableNames(CachedDirectory &, string& , set<string>&) { };
155
153
 
156
154
  int doDropTable(Session&, const string table_path);
 
155
 
 
156
  uint32_t max_keys()          const { return 0; }
 
157
  uint32_t max_key_parts()     const { return 0; }
 
158
  uint32_t max_key_length()    const { return 0; }
157
159
};
158
160
 
159
161
int Tina::doDropTable(Session&,