~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_create_table.cc

  • Committer: Barry.Leslie at PrimeBase
  • Date: 2011-01-22 03:22:44 UTC
  • mfrom: (2101 staging)
  • mto: (2228.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2230.
  • Revision ID: barry.leslie@primebase.com-20110122032244-ukbe3mlj7fs8xph6
Merged with lp:drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
  show_dictionary::Show::Generator(arg),
41
41
  is_primed(false)
42
42
{
 
43
  if (not isShowQuery())
 
44
   return;
 
45
 
43
46
  statement::Show *select= static_cast<statement::Show *>(getSession().lex->statement);
44
47
 
45
48
  if (not select->getShowTable().empty() && not select->getShowSchema().empty())
46
49
  {
47
 
    TableIdentifier identifier(select->getShowSchema(), select->getShowTable());
 
50
    identifier::Table identifier(select->getShowSchema(), select->getShowTable());
48
51
 
49
52
    int error= plugin::StorageEngine::getTableDefinition(getSession(),
50
53
                                                         identifier,