~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_schemas.h

  • Committer: Brian Aker
  • Date: 2010-09-22 22:29:55 UTC
  • mto: (1787.3.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1789.
  • Revision ID: brian@tangent.org-20100922222955-cg1bddv4b72jwe31
Fix enum at being an intefer (which is what PG did, and it saves on
alignment issues).

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef PLUGIN_SHOW_DICTIONARY_SHOW_SCHEMAS_H
22
22
#define PLUGIN_SHOW_DICTIONARY_SHOW_SCHEMAS_H
23
23
 
24
 
class ShowSchemas : public show_dictionary::Show
 
24
class ShowSchemas : public drizzled::plugin::TableFunction
25
25
{
26
26
public:
27
27
 
28
28
  ShowSchemas();
29
29
 
30
 
  class Generator : public show_dictionary::Show::Generator 
 
30
  ShowSchemas(const char *schema_arg, const char *table_arg) :
 
31
    drizzled::plugin::TableFunction(schema_arg, table_arg)
 
32
  { }
 
33
 
 
34
  class Generator : public drizzled::plugin::TableFunction::Generator 
31
35
  {
32
 
    drizzled::SchemaIdentifier::vector schema_names;
33
 
    drizzled::SchemaIdentifier::vector::const_iterator schema_iterator;
 
36
    drizzled::SchemaIdentifiers schema_names;
 
37
    drizzled::SchemaIdentifiers::const_iterator schema_iterator;
34
38
 
35
39
    bool is_schema_primed;
36
40