~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_table_status.cc

  • Committer: Lee Bieber
  • Date: 2011-03-13 16:37:38 UTC
  • mfrom: (2227.4.18 session2)
  • Revision ID: kalebral@gmail.com-20110313163738-7ti21zk40o2xi3ew
Merge Olaf - Refactor Session

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
  if (not isShowQuery())
50
50
   return;
51
51
 
52
 
  statement::Show *select= static_cast<statement::Show *>(getSession().getLex()->statement);
 
52
  statement::Show& select= static_cast<statement::Show&>(statement());
53
53
 
54
 
  schema_predicate.append(select->getShowSchema());
 
54
  schema_predicate.append(select.getShowSchema());
55
55
 
56
56
  util::string::const_shared_ptr schema(getSession().schema());
57
57
  if (schema_predicate.empty() and schema)
138
138
{
139
139
  if (not next())
140
140
    return false;
141
 
  
 
141
 
142
142
  fill();
143
143
 
144
144
  return true;