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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
40bbd186
Commit
40bbd186
authored
Jan 08, 2013
by
Hery Ramilison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applying patch for Bug#67177 Bug#15967374 from Kent
parent
1dbc62ce
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
4 deletions
+34
-4
configure.in
configure.in
+26
-1
libmysqld/Makefile.am
libmysqld/Makefile.am
+1
-1
sql/.cvsignore
sql/.cvsignore
+1
-0
sql/Makefile.am
sql/Makefile.am
+1
-1
sql/sql_lex.h
sql/sql_lex.h
+5
-1
No files found.
configure.in
View file @
40bbd186
...
...
@@ -22,7 +22,7 @@ AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE
([
1.9 tar-ustar]
)
AC_PROG_LIBTOOL
A
M_CONFIG_HEADER
([
include/config.h]
)
A
C_CONFIG_HEADERS
([
include/config.h]
)
# Request support for automake silent-rules if available.
# Default to verbose output. One can use the configure-time
...
...
@@ -269,6 +269,31 @@ AC_SUBST(LIBTOOL)dnl
AC_SUBST
(
NM
)
dnl
##############################################################################
# In automake 1.12, the extension on generated yacc/bison header files changed
##############################################################################
YACC_HEXT
=
"h"
MAKEFILE_1ST
=
`
head
-1
"
$srcdir
/Makefile.in"
`
AMAKE_MAJOR
=
`
expr
"
$MAKEFILE_1ST
"
:
'.*generated by automake \([[0-9]]*\).*'
`
if
test
$?
-eq
"0"
;
then
if
test
"
$AMAKE_MAJOR
"
-gt
"1"
;
then
YACC_HEXT
=
"hh"
CXXFLAGS
=
"
$CXXFLAGS
-DYACC_HEXT_HH"
elif
test
"
$AMAKE_MAJOR
"
-eq
"1"
;
then
AMAKE_MINOR
=
`
expr
"
$MAKEFILE_1ST
"
:
'.*generated by automake 1.\([[0-9]]*\).*'
`
if
test
$?
-eq
"0"
;
then
if
test
"
$AMAKE_MINOR
"
-ge
"12"
;
then
YACC_HEXT
=
"hh"
CXXFLAGS
=
"
$CXXFLAGS
-DYACC_HEXT_HH"
fi
fi
fi
fi
AC_SUBST
(
YACC_HEXT
)
##############################################################################
# NM= "$NM -X64"
#archive_expsym_cmds= `echo "$archive_expsym_cmds" | sed -e '/"$(CC)"//'`
#archive_expsym_cmds= "$CC -q64 $archive_expsym_cmds"
...
...
libmysqld/Makefile.am
View file @
40bbd186
...
...
@@ -90,7 +90,7 @@ storageobjects = @condition_dependent_plugin_objects@
storagesourceslinks
=
@condition_dependent_plugin_links@
# automake misses these
sql_yacc.cc sql_yacc.
h
:
$(top_srcdir)/sql/sql_yacc.yy
sql_yacc.cc sql_yacc.
$(YACC_HEXT)
:
$(top_srcdir)/sql/sql_yacc.yy
# The following libraries should be included in libmysqld.a
INC_LIB
=
$(top_builddir)
/regex/libregex.a
\
...
...
sql/.cvsignore
View file @
40bbd186
...
...
@@ -9,4 +9,5 @@ mysqlbinlog
mysqlbinlog
mysqld
sql_yacc.cc
sql_yacc.hh
sql_yacc.h
sql/Makefile.am
View file @
40bbd186
...
...
@@ -146,7 +146,7 @@ DEFS = -DMYSQL_SERVER \
-DHAVE_EVENT_SCHEDULER
\
@DEFS@
BUILT_MAINT_SRC
=
sql_yacc.cc sql_yacc.
h
BUILT_MAINT_SRC
=
sql_yacc.cc sql_yacc.
$(YACC_HEXT)
BUILT_SOURCES
=
$(BUILT_MAINT_SRC)
lex_hash.h link_sources
EXTRA_DIST
=
udf_example.c udf_example.def
$(BUILT_MAINT_SRC)
\
nt_servc.cc nt_servc.h
\
...
...
sql/sql_lex.h
View file @
40bbd186
...
...
@@ -47,7 +47,11 @@ class Event_parse_data;
#else
#include "lex_symbol.h"
#if MYSQL_LEX
#include "sql_yacc.h"
# if YACC_HEXT_HH
# include "sql_yacc.hh"
# else
# include "sql_yacc.h"
# endif
#define LEX_YYSTYPE YYSTYPE *
#else
#define LEX_YYSTYPE void *
...
...
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