diff options
author | unknown <hf@deer.(none)> | 2004-01-23 16:02:57 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-01-23 16:02:57 +0400 |
commit | 214c178f1763c14934a337c2ebce89f10aa18741 (patch) | |
tree | 8172c7f6f96ab3801ef15dfbb93d61a10809047f /sql/lex_symbol.h | |
parent | 235f1a4d60968bd9083780d13e249aad9fe7120c (diff) | |
download | mariadb-git-214c178f1763c14934a337c2ebce89f10aa18741.tar.gz |
SCRUM
wl #1163 (Make spatial code optional)
Patch I cleaned with Serg & Monty's suggestions
sql/gen_lex_hash.cc:
mysql_priv.h was included for SYM_GROUP declaration
sql/lex.h:
sym_group_xxx made global so we can use texts from them
throughout the code
sql/lex_symbol.h:
SYM_GROUP declaration moved to mysql_priv.h
sql/mysql_priv.h:
declarations about SYM_GROUP
sql/sql_table.cc:
sym_group_xxx objects used instead of text constants
a couple of HAVE_SPATIAL removed
sql/sql_yacc.yy:
sym_group_xxx used instead of text constants
some duplicated code restructured
MYF(0) parameters removed from net_printf calls
Diffstat (limited to 'sql/lex_symbol.h')
-rw-r--r-- | sql/lex_symbol.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sql/lex_symbol.h b/sql/lex_symbol.h index 63d4f9d69c2..d1d30a73669 100644 --- a/sql/lex_symbol.h +++ b/sql/lex_symbol.h @@ -20,17 +20,14 @@ #ifndef _lex_symbol_h #define _lex_symbol_h -typedef struct st_sym_group { - const char *name; - const char *needed_define; -} SYM_GROUP; +struct st_sym_group; typedef struct st_symbol { const char *name; uint tok; uint length; void *create_func; - SYM_GROUP *group; + struct st_sym_group *group; } SYMBOL; typedef struct st_lex_symbol |