Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
78abb2d1
Commit
78abb2d1
authored
Mar 09, 2006
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Porting fix that allows others to include compiled code with different parsers.
Makes you wonder what I am up to, doesn't?
parent
3d37ec6b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
1 deletion
+9
-1
configure.in
configure.in
+1
-1
sql/sql_analyse.cc
sql/sql_analyse.cc
+2
-0
sql/sql_lex.cc
sql/sql_lex.cc
+1
-0
sql/sql_lex.h
sql/sql_lex.h
+4
-0
sql/sql_parse.cc
sql/sql_parse.cc
+1
-0
No files found.
configure.in
View file @
78abb2d1
...
...
@@ -236,7 +236,7 @@ AC_PROG_INSTALL
test
-z
"
$INSTALL_SCRIPT
"
&&
INSTALL_SCRIPT
=
'${INSTALL_PROGRAM}'
# Not critical since the generated file is distributed
AC_
PROG_YACC
AC_
CHECK_PROGS
(
YACC,
[
'bison -y -p MYSQL'
])
AC_CHECK_PROG
(
PDFMANUAL, pdftex, manual.pdf
)
AC_CHECK_PROG
(
DVIS, tex, manual.dvi
)
...
...
sql/sql_analyse.cc
View file @
78abb2d1
...
...
@@ -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"
...
...
sql/sql_lex.cc
View file @
78abb2d1
...
...
@@ -17,6 +17,7 @@
/* A lexical scanner on a temporary buffer with a yacc interface */
#define MYSQL_LEX 1
#include "mysql_priv.h"
#include "item_create.h"
#include <m_ctype.h>
...
...
sql/sql_lex.h
View file @
78abb2d1
...
...
@@ -37,8 +37,12 @@ class sp_pcontext;
#define LEX_YYSTYPE void *
#else
#include "lex_symbol.h"
#if MYSQL_LEX
#include "sql_yacc.h"
#define LEX_YYSTYPE YYSTYPE *
#else
#define LEX_YYSTYPE void *
#endif
#endif
/*
...
...
sql/sql_parse.cc
View file @
78abb2d1
...
...
@@ -14,6 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#define MYSQL_LEX 1
#include "mysql_priv.h"
#include "sql_repl.h"
#include "repl_failsafe.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment