~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

Extracted the LOAD command into its own class and implementation files.
Removed the corresponding case label from the switch statement.

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/statement.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::statement::Statement *statement;
 
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
938
938
  /* Options used in START TRANSACTION statement */
939
939
  uint32_t start_transaction_opt;
940
940
  int nest_level;
 
941
  /*
 
942
    In LEX representing update which were transformed to multi-update
 
943
    stores total number of tables. For LEX representing multi-delete
 
944
    holds number of tables from which we will delete records.
 
945
  */
 
946
  uint32_t table_count;
941
947
  uint8_t describe;
942
948
  /*
943
949
    A flag that indicates what kinds of derived tables are present in the