~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_tables.cc

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:11:45 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114051145-xiputq4lvmtct377
storage engine docs. add bit about some temp table only engines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 */
20
20
 
21
21
 
22
 
#include <config.h>
23
 
#include <plugin/show_dictionary/dictionary.h>
24
 
#include <drizzled/identifier.h>
 
22
#include "config.h"
 
23
#include "plugin/show_dictionary/dictionary.h"
 
24
#include "drizzled/identifier.h"
25
25
 
26
26
using namespace std;
27
27
using namespace drizzled;
39
39
  if (not isShowQuery())
40
40
   return;
41
41
 
42
 
  statement::Show *select= static_cast<statement::Show *>(getSession().getLex()->statement);
 
42
  statement::Show *select= static_cast<statement::Show *>(getSession().lex->statement);
43
43
 
44
44
  if (not select->getShowSchema().empty())
45
45
  {
62
62
      return false;
63
63
    }
64
64
 
65
 
    identifier::Schema identifier(schema_name);
 
65
    SchemaIdentifier identifier(schema_name);
66
66
    plugin::StorageEngine::getIdentifiers(getSession(), identifier, set_of_identifiers);
67
67
    table_iterator= set_of_identifiers.begin();
68
68
    is_primed= true;