~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

Updates based on code review from Jay.

- modified the SqlCommand base class to be abstract
- created new directory (command) where each command implementation will be
  placed in a separate file
- created namespace for various commands (drizzled::command)

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#include "drizzled/foreign_key.h"
39
39
#include "drizzled/item/param.h"
40
40
#include "drizzled/index_hint.h"
41
 
#include "drizzled/sql_commands.h"
 
41
#include "drizzled/command.h"
42
42
 
43
43
#include <bitset>
44
44
 
912
912
  */
913
913
  nesting_map allow_sum_func;
914
914
  enum_sql_command sql_command;
915
 
  drizzled::SqlCommand *command;
 
915
  drizzled::command::SqlCommand *command;
916
916
  /*
917
917
    Usually `expr` rule of yacc is quite reused but some commands better
918
918
    not support subqueries which comes standard with this rule, like