~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-10 11:16:26 UTC
  • mto: This revision was merged to the branch mainline in revision 2233.
  • Revision ID: olafvdspek@gmail.com-20110310111626-o2ztahzlr63244mm
Remove unnecessary statement.h include

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <drizzled/function/math/real.h>
30
30
#include <drizzled/key_part_spec.h>
31
31
#include <drizzled/index_hint.h>
32
 
#include <drizzled/statement.h>
33
32
#include <drizzled/optimizer/explain_plan.h>
34
33
 
35
34
#include <bitset>
38
37
namespace drizzled {
39
38
 
40
39
namespace plugin { class Function; }
 
40
namespace statement { class Statement; }
41
41
 
42
42
class st_lex_symbol;
43
43
class select_result_interceptor;
67
67
#  if defined(DRIZZLE_LEX)
68
68
#   include <drizzled/foreign_key.h>
69
69
#   include <drizzled/lex_symbol.h>
 
70
#   include <drizzled/comp_creator.h>
70
71
#   include <drizzled/sql_yacc.h>
71
72
#   define LEX_YYSTYPE YYSTYPE *
72
73
#  else
810
811
  /* list of all Select_Lex */
811
812
  Select_Lex *all_selects_list;
812
813
 
813
 
  /* This is the "scale" for DECIMAL (S,P) notation */ 
 
814
  /* This is the "scale" for DECIMAL (S,P) notation */
814
815
  char *length;
815
816
  /* This is the decimal precision in DECIMAL(S,P) notation */
816
817
  char *dec;
817
 
  
 
818
 
818
819
  /**
819
 
   * This is used kind of like the "ident" member variable below, as 
 
820
   * This is used kind of like the "ident" member variable below, as
820
821
   * a place to store certain names of identifiers.  Unfortunately, it
821
822
   * is used differently depending on the Command (SELECT on a derived
822
823
   * table vs CREATE)
832
833
   * or a named savepoint.  It should probably be refactored out into
833
834
   * the eventual Command class built for the Keycache and Savepoint
834
835
   * commands.
835
 
   */ 
 
836
   */
836
837
  LEX_STRING ident;
837
838
 
838
839
  unsigned char* yacc_yyss, *yacc_yyvs;
1032
1033
    return _exists;
1033
1034
  }
1034
1035
 
1035
 
private: 
 
1036
private:
1036
1037
  bool cacheable;
1037
1038
  bool sum_expr_used;
1038
1039
  message::Table *_create_table;