~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-08-07 20:07:09 UTC
  • mto: (1115.3.4 captain)
  • mto: This revision was merged to the branch mainline in revision 1117.
  • Revision ID: osullivan.padraig@gmail.com-20090807200709-igc524sy3od6u3hk
Removed the Statement class. Copied any members it had that were needed by
the Session class in to that class. Removed the inheritance from Statement
in the Session class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include <drizzled/connect.h>
37
37
#include <drizzled/lock.h>
38
38
#include <drizzled/select_send.h>
39
 
#include <drizzled/statement.h>
 
39
#include <drizzled/command.h>
40
40
 
41
41
#include <bitset>
42
42
#include <algorithm>
1181
1181
   */
1182
1182
  if (comm_not_executed)
1183
1183
  {
1184
 
    /* now we are ready to execute the statement */
1185
 
    res= lex->statement->execute();
 
1184
    /* now we are ready to execute the command */
 
1185
    res= lex->command->execute();
1186
1186
  }
1187
1187
 
1188
1188
  session->set_proc_info("query end");