~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

Update to interface for getTableDefinition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
 
137
137
  virtual ~StorageEngine();
138
138
 
139
 
  virtual int doGetTableDefinition(const char* path,
 
139
  virtual int doGetTableDefinition(const char *path,
 
140
                                   const char *db,
 
141
                                   const char *table_name,
 
142
                                   const bool is_tmp,
140
143
                                   drizzled::message::Table *table_proto)
141
144
  {
142
145
    (void)path;
 
146
    (void)db;
 
147
    (void)table_name;
 
148
    (void)is_tmp;
143
149
    (void)table_proto;
144
150
    return ENOENT;
145
151
  }
299
305
  static bool addPlugin(plugin::StorageEngine *engine);
300
306
  static void removePlugin(plugin::StorageEngine *engine);
301
307
 
302
 
  static int getTableDefinition(const char* path, message::Table *table_proto);
 
308
  static int getTableDefinition(const char* path, 
 
309
                                const char *db,
 
310
                                const char *table_name,
 
311
                                const bool is_tmp,
 
312
                                message::Table *table_proto= NULL);
303
313
 
304
314
  static plugin::StorageEngine *findByName(Session *session,
305
315
                                           std::string find_str);