~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lex_symbol.h

  • Committer: Monty Taylor
  • Date: 2009-01-30 04:45:55 UTC
  • mfrom: (779.4.10 devel)
  • mto: (779.7.3 devel)
  • mto: This revision was merged to the branch mainline in revision 823.
  • Revision ID: mordred@inaugust.com-20090130044555-ntb3509c8o6e3sb5
MergedĀ fromĀ me.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef _lex_symbol_h
24
24
#define _lex_symbol_h
25
25
 
26
 
#include <mysys/thr_lock.h>
27
 
/* A helper type for transactional locking. */
28
 
struct st_table_lock_info
29
 
{
30
 
  thr_lock_type lock_type;
31
 
  int           lock_timeout;
32
 
  bool          lock_transactional;
33
 
};
34
 
 
35
 
struct st_sym_group;
 
26
typedef struct st_sym_group {
 
27
  const char *name;
 
28
  const char *needed_define;
 
29
} SYM_GROUP;
36
30
 
37
31
typedef struct st_symbol {
38
32
  const char *name;
39
33
  uint  tok;
40
 
  uint32_t length;
41
 
  struct st_sym_group *group;
42
34
} SYMBOL;
43
35
 
44
36
typedef struct st_lex_symbol
45
37
{
46
 
  SYMBOL *symbol;
 
38
  const SYMBOL *symbol;
47
39
  char   *str;
48
40
  uint32_t   length;
49
41
} LEX_SYMBOL;
50
42
 
51
 
typedef struct st_sym_group {
52
 
  const char *name;
53
 
  const char *needed_define;
54
 
} SYM_GROUP;
55
43
 
56
44
extern SYM_GROUP sym_group_common;
57
45
extern SYM_GROUP sym_group_geom;
58
46
extern SYM_GROUP sym_group_rtree;
59
47
 
 
48
 
60
49
#endif /* _lex_symbol_h */