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/gen_lex_hash.cc | |
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/gen_lex_hash.cc')
-rw-r--r-- | sql/gen_lex_hash.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/gen_lex_hash.cc b/sql/gen_lex_hash.cc index 7126b7ee577..6df7d867a4d 100644 --- a/sql/gen_lex_hash.cc +++ b/sql/gen_lex_hash.cc @@ -81,9 +81,10 @@ TODO: #endif #include <my_getopt.h> #include "mysql_version.h" +#include "mysql_priv.h" #include "lex.h" -static struct my_option my_long_options[] = +struct my_option my_long_options[] = { {"help", '?', "Display help and exit", 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, |