~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/info_schema_table.h

  • Committer: Monty Taylor
  • Date: 2009-10-27 17:36:23 UTC
  • mto: This revision was merged to the branch mainline in revision 1201.
  • Revision ID: mordred@inaugust.com-20091027173623-4af3fusj3cu5lktt
Replaced overridable virtual methods with passing name to constructor. Now individual plugins will not be allowed to set their own plugin type name. :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
                  uint32_t req_object,
228
228
                  InfoSchemaMethods *in_methods)
229
229
    :
230
 
      Plugin(tab_name),
 
230
      Plugin(tab_name, "InfoSchemaTable"),
231
231
      hidden(in_hidden),
232
232
      is_opt_possible(in_opt_possible),
233
233
      first_column_index(idx_col1),
239
239
 
240
240
  explicit InfoSchemaTable(const std::string& tab_name)
241
241
    :
242
 
      Plugin(tab_name),
 
242
      Plugin(tab_name, "InfoSchemaTable"),
243
243
      hidden(false),
244
244
      is_opt_possible(false),
245
245
      first_column_index(0),
428
428
    return column_info[index]->getOpenMethod();
429
429
  }
430
430
 
431
 
  virtual const std::string getTypeName() const
432
 
  {
433
 
    return "InfoSchemaTable";
434
 
  }
435
 
 
436
431
private:
437
432
 
438
433
  /**