~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_tables.cc

  • Committer: Brian Aker
  • Date: 2010-10-24 11:37:53 UTC
  • mfrom: (1874.2.4 bison)
  • Revision ID: brian@tangent.org-20101024113753-sdw59ktv6lyk0r22
Merge in show update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
using namespace drizzled;
28
28
 
29
29
ShowTables::ShowTables() :
30
 
  plugin::TableFunction("DATA_DICTIONARY", "SHOW_TABLES")
 
30
  show_dictionary::Show("SHOW_TABLES")
31
31
{
32
32
  add_field("TABLE_NAME");
33
33
}
34
34
 
35
35
ShowTables::Generator::Generator(drizzled::Field **arg) :
36
 
  drizzled::plugin::TableFunction::Generator(arg),
 
36
  show_dictionary::Show::Generator(arg),
37
37
  is_primed(false)
38
38
{
39
 
  statement::Select *select= static_cast<statement::Select *>(getSession().lex->statement);
 
39
  statement::Show *select= static_cast<statement::Show *>(getSession().lex->statement);
40
40
 
41
41
  if (not select->getShowSchema().empty())
42
42
  {