~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_tables.cc

  • Committer: Brian Aker
  • Date: 2011-02-12 06:13:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212061332-a5dtetim82r6vvls
Merge in session up and out of sql_select.h

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
  {