~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_schemas.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
using namespace drizzled;
26
26
 
27
27
ShowSchemas::ShowSchemas() :
28
 
  show_dictionary::Show("SHOW_SCHEMAS")
 
28
  plugin::TableFunction("DATA_DICTIONARY", "SHOW_SCHEMAS")
29
29
{
30
30
  add_field("SCHEMA_NAME");
31
31
}
32
32
 
33
33
ShowSchemas::Generator::Generator(Field **arg) :
34
 
  show_dictionary::Show::Generator(arg),
 
34
  plugin::TableFunction::Generator(arg),
35
35
  is_schema_primed(false)
36
36
{
37
37
}
55
55
  }
56
56
  else
57
57
  {
58
 
    plugin::StorageEngine::getIdentifiers(getSession(), schema_names);
 
58
    plugin::StorageEngine::getSchemaIdentifiers(getSession(), schema_names);
 
59
    schema_names.sort();
59
60
    schema_iterator= schema_names.begin();
60
61
    is_schema_primed= true;
61
62
  }