~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

  • Committer: Monty Taylor
  • Date: 2008-12-20 23:44:07 UTC
  • mto: (722.2.2 devel)
  • mto: This revision was merged to the branch mainline in revision 727.
  • Revision ID: monty@inaugust.com-20081220234407-585wdrdd1vxqqzam
Removed all the setting of DEFS everywhere. Use configmake.h to get the values
we need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
class LEX_COLUMN;
49
49
class Item_outer_ref;
50
50
 
51
 
#ifdef DRIZZLE_SERVER
52
51
/*
53
52
  The following hack is needed because mysql_yacc.cc does not define
54
53
  YYSTYPE before including this file
55
54
*/
56
55
 
57
 
#include <drizzled/set_var.h>
58
 
#include <drizzled/item/func.h>
59
 
#ifdef DRIZZLE_YACC
60
 
#define LEX_YYSTYPE void *
61
 
#else
62
 
#if defined(DRIZZLE_LEX)
63
 
#include <drizzled/lex_symbol.h>
64
 
#include <drizzled/sql_yacc.h>
65
 
#define LEX_YYSTYPE YYSTYPE *
66
 
#else
67
 
#define LEX_YYSTYPE void *
68
 
#endif
69
 
#endif
70
 
#endif
 
56
#ifdef DRIZZLE_SERVER
 
57
# include <drizzled/set_var.h>
 
58
# include <drizzled/item/func.h>
 
59
# ifdef DRIZZLE_YACC
 
60
#  define LEX_YYSTYPE void *
 
61
# else
 
62
#  if defined(DRIZZLE_LEX)
 
63
#   include <drizzled/lex_symbol.h>
 
64
#   include <drizzled/sql_yacc.h>
 
65
#   define LEX_YYSTYPE YYSTYPE *
 
66
#  else
 
67
#   define LEX_YYSTYPE void *
 
68
#  endif /* defined(DRIZZLE_LEX) */
 
69
# endif /* DRIZZLE_YACC */
 
70
#endif /* DRIZZLE_SERVER */
71
71
 
72
72
// describe/explain types
73
73
#define DESCRIBE_NORMAL         1