diff options
author | unknown <brian@zim.(none)> | 2006-03-09 10:09:52 -0800 |
---|---|---|
committer | unknown <brian@zim.(none)> | 2006-03-09 10:09:52 -0800 |
commit | 85d705b651cf9057f2d687294044f173880675c3 (patch) | |
tree | cd52a724927c26ff68a6bac83139664decc8a7fc /sql/sql_analyse.cc | |
parent | 5e54b63fa372ff2b6ff33fb4363febe15174c96c (diff) | |
download | mariadb-git-85d705b651cf9057f2d687294044f173880675c3.tar.gz |
Porting fix that allows others to include compiled code with different parsers.
Makes you wonder what I am up to, doesn't?
configure.in:
Adjusts bison to not create symbols that clash.
sql/sql_analyse.cc:
Adding define to make sure sql_yacc.h gets included.
sql/sql_lex.cc:
Fixing it so that sql_yacc.h is included
sql/sql_lex.h:
Fixing include rules
sql/sql_parse.cc:
Adding flag to compile sql_yacc.yy
Diffstat (limited to 'sql/sql_analyse.cc')
-rw-r--r-- | sql/sql_analyse.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc index 0e4198a5114..af9246c673a 100644 --- a/sql/sql_analyse.cc +++ b/sql/sql_analyse.cc @@ -27,6 +27,8 @@ #pragma implementation // gcc: Class implementation #endif +#define MYSQL_LEX 1 + #include "mysql_priv.h" #include "procedure.h" #include "sql_analyse.h" |