~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/info_schema_table.h

  • Committer: Brian Aker
  • Date: 2010-01-15 01:41:40 UTC
  • mfrom: (1259.8.3 i_s_work)
  • Revision ID: brian@gaz-20100115014140-0n6kh7fqhp1abqs4
Merge Joe Daly

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
      requested_object(req_object),
324
324
      column_info(in_column_info),
325
325
      rows(),
326
 
      i_s_methods(in_methods)
 
326
      i_s_methods(in_methods),
 
327
      plugin_name("")
 
328
  {}
 
329
 
 
330
  InfoSchemaTable(const std::string& tab_name,
 
331
                  Columns& in_column_info,
 
332
                  int idx_col1,
 
333
                  int idx_col2,
 
334
                  bool in_hidden,
 
335
                  bool in_opt_possible,
 
336
                  uint32_t req_object,
 
337
                  InfoSchemaMethods *in_methods,
 
338
                  const std::string in_plugin_name)
 
339
    :
 
340
      Plugin(tab_name, "InfoSchemaTable"),
 
341
      hidden(in_hidden),
 
342
      is_opt_possible(in_opt_possible),
 
343
      first_column_index(idx_col1),
 
344
      second_column_index(idx_col2),
 
345
      requested_object(req_object),
 
346
      column_info(in_column_info),
 
347
      rows(),
 
348
      i_s_methods(in_methods),
 
349
      plugin_name(in_plugin_name)
327
350
  {}
328
351
 
329
352
  explicit InfoSchemaTable(const std::string& tab_name)
336
359
      requested_object(0),
337
360
      column_info(),
338
361
      rows(),
339
 
      i_s_methods(NULL)
 
362
      i_s_methods(NULL),
 
363
      plugin_name("")
340
364
  {}
341
365
 
342
366
  virtual ~InfoSchemaTable()
486
510
  }
487
511
 
488
512
  /**
 
513
   * @return the plugin name.
 
514
   */
 
515
  const std::string &getPluginName() const
 
516
  {
 
517
    return plugin_name;
 
518
  }
 
519
 
 
520
  /**
489
521
   * @return the columns for this I_S table
490
522
   */
491
523
  const Columns &getColumns() const
589
621
   */
590
622
  InfoSchemaMethods *i_s_methods;
591
623
 
 
624
  /**
 
625
   * The name of the plugin associated with this I_S table
 
626
   * NULL for non I_S tables. 
 
627
   */ 
 
628
  const std::string plugin_name; 
 
629
 
592
630
public:
593
631
  static bool addPlugin(plugin::InfoSchemaTable *schema_table);
594
632
  static void removePlugin(plugin::InfoSchemaTable *table);