~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.cc

Simplify createTable()

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
    return ha_archive_exts;
153
153
  }
154
154
 
155
 
  int createTableImplementation(Session *session, const char *table_name,
156
 
                                Table *table_arg, HA_CREATE_INFO *create_info,
157
 
                                drizzled::message::Table* proto);
 
155
  int doCreateTable(Session *session, const char *table_name,
 
156
                    Table *table_arg, HA_CREATE_INFO *create_info,
 
157
                    drizzled::message::Table* proto);
158
158
 
159
159
  int getTableProtoImplementation(const char* path,
160
160
                                  drizzled::message::Table *table_proto);
595
595
  of creation.
596
596
*/
597
597
 
598
 
int ArchiveEngine::createTableImplementation(Session *,
599
 
                                             const char *table_name,
600
 
                                             Table *table_arg,
601
 
                                             HA_CREATE_INFO *create_info,
602
 
                                             drizzled::message::Table *proto)
 
598
int ArchiveEngine::doCreateTable(Session *,
 
599
                                 const char *table_name,
 
600
                                 Table *table_arg,
 
601
                                 HA_CREATE_INFO *create_info,
 
602
                                 drizzled::message::Table *proto)
603
603
{
604
604
  char name_buff[FN_REFLEN];
605
605
  int error= 0;