~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_indexes.cc

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:00:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226030037-2qcfxg5ryamekd56
Cleaned through ha0ha.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
  index_iterator(0),
45
45
  index_part_iterator(0)
46
46
{
47
 
  if (not isShowQuery())
48
 
    return;
49
 
 
50
47
  statement::Show *select= static_cast<statement::Show *>(getSession().lex->statement);
51
48
 
52
49
  if (not select->getShowTable().empty() && not select->getShowSchema().empty())
53
50
  {
54
51
    table_name.append(select->getShowTable().c_str());
55
 
    identifier::Table identifier(select->getShowSchema().c_str(), select->getShowTable().c_str());
 
52
    TableIdentifier identifier(select->getShowSchema().c_str(), select->getShowTable().c_str());
56
53
 
57
54
    is_tables_primed= plugin::StorageEngine::getTableDefinition(getSession(),
58
55
                                                                identifier,