~clint-fewbar/drizzle/authorize-default-deny

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_create_schema.cc

  • Committer: Clint Byrum
  • Date: 2011-02-22 22:25:07 UTC
  • mfrom: (2177.1.15 build)
  • Revision ID: clint@ubuntu.com-20110222222507-azaofg4p8w55gdvr
merging trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
22
 
#include "plugin/show_dictionary/dictionary.h"
23
 
#include "drizzled/identifier.h"
24
 
#include "drizzled/message.h"
25
 
#include "drizzled/message/statement_transform.h"
 
21
#include <config.h>
 
22
#include <plugin/show_dictionary/dictionary.h>
 
23
#include <drizzled/identifier.h>
 
24
#include <drizzled/message.h>
 
25
#include <drizzled/message/statement_transform.h>
26
26
#include <string>
27
27
 
28
28
using namespace std;
42
42
  if (not isShowQuery())
43
43
   return;
44
44
 
45
 
  statement::Show *select= static_cast<statement::Show *>(getSession().lex->statement);
 
45
  statement::Show *select= static_cast<statement::Show *>(getSession().getLex()->statement);
46
46
 
47
47
  if (not select->getShowSchema().empty())
48
48
  {