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
ed8fc0b0
Commit
ed8fc0b0
authored
Mar 06, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for --enable-local-infile
parent
668d09cc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
9 deletions
+18
-9
Docs/manual.texi
Docs/manual.texi
+2
-0
acinclude.m4
acinclude.m4
+5
-5
configure.in
configure.in
+10
-3
libmysql/libmysql.c
libmysql/libmysql.c
+1
-1
No files found.
Docs/manual.texi
View file @
ed8fc0b0
...
@@ -46890,6 +46890,8 @@ not yet 100% confident in this code.
...
@@ -46890,6 +46890,8 @@ not yet 100% confident in this code.
@node News-3.23.50, News-3.23.49, News-3.23.x, News-3.23.x
@node News-3.23.50, News-3.23.49, News-3.23.x, News-3.23.x
@appendixsubsec Changes in release 3.23.50
@appendixsubsec Changes in release 3.23.50
@itemize @bullet
@itemize @bullet
Fixed core-dump bug when reading client groups from option files using
@code{mysql_options()}.
@item
@item
Memory leak (16 bytes per every @strong{corrupted} table) closed.
Memory leak (16 bytes per every @strong{corrupted} table) closed.
@item
@item
acinclude.m4
View file @
ed8fc0b0
...
@@ -643,21 +643,21 @@ dnl ---------------------------------------------------------------------------
...
@@ -643,21 +643,21 @@ dnl ---------------------------------------------------------------------------
AC_DEFUN([MYSQL_CHECK_BDB], [
AC_DEFUN([MYSQL_CHECK_BDB], [
AC_ARG_WITH([berkeley-db],
AC_ARG_WITH([berkeley-db],
[
\
[
--with-berkeley-db[=DIR]
--with-berkeley-db[=DIR]
Use BerkeleyDB located in DIR],
Use BerkeleyDB located in DIR],
[bdb="$withval"],
[bdb="$withval"],
[bdb=no])
[bdb=no])
AC_ARG_WITH([berkeley-db-includes],
AC_ARG_WITH([berkeley-db-includes],
[
\
[
--with-berkeley-db-includes=DIR
--with-berkeley-db-includes=DIR
Find Berkeley DB headers in DIR],
Find Berkeley DB headers in DIR],
[bdb_includes="$withval"],
[bdb_includes="$withval"],
[bdb_includes=default])
[bdb_includes=default])
AC_ARG_WITH([berkeley-db-libs],
AC_ARG_WITH([berkeley-db-libs],
[
\
[
--with-berkeley-db-libs=DIR
--with-berkeley-db-libs=DIR
Find Berkeley DB libraries in DIR],
Find Berkeley DB libraries in DIR],
[bdb_libs="$withval"],
[bdb_libs="$withval"],
...
@@ -905,7 +905,7 @@ dnl ---------------------------------------------------------------------------
...
@@ -905,7 +905,7 @@ dnl ---------------------------------------------------------------------------
AC_DEFUN([MYSQL_CHECK_INNODB], [
AC_DEFUN([MYSQL_CHECK_INNODB], [
AC_ARG_WITH([innodb],
AC_ARG_WITH([innodb],
[
\
[
--with-innodb Use Innodb],
--with-innodb Use Innodb],
[innodb="$withval"],
[innodb="$withval"],
[innodb=no])
[innodb=no])
...
@@ -985,7 +985,7 @@ dnl ---------------------------------------------------------------------------
...
@@ -985,7 +985,7 @@ dnl ---------------------------------------------------------------------------
AC_DEFUN([MYSQL_CHECK_GEMINI], [
AC_DEFUN([MYSQL_CHECK_GEMINI], [
AC_ARG_WITH([gemini],
AC_ARG_WITH([gemini],
[
\
[
--with-gemini[=DIR] Use Gemini DB located in DIR],
--with-gemini[=DIR] Use Gemini DB located in DIR],
[gemini="$withval"],
[gemini="$withval"],
[gemini=no])
[gemini=no])
...
...
configure.in
View file @
ed8fc0b0
...
@@ -603,15 +603,22 @@ AC_ARG_WITH(mysqld-user,
...
@@ -603,15 +603,22 @@ AC_ARG_WITH(mysqld-user,
)
)
AC_SUBST
(
MYSQLD_USER
)
AC_SUBST
(
MYSQLD_USER
)
# compile with strings functions in assembler
# If we should allove LOAD DATA LOCAL
AC_MSG_CHECKING
(
if
we should should
enable
LOAD DATA LOCAL by default
)
AC_ARG_ENABLE
(
local-infile,
AC_ARG_ENABLE
(
local-infile,
[
--enable-local-infile
[
--enable-local-infile
If LOAD DATA LOCAL INFILE is enabled by default.],
If LOAD DATA LOCAL INFILE is enabled by default.],
[
ENABLED_LOCAL_INFILE
=
$enable
w
al
]
,
[
ENABLED_LOCAL_INFILE
=
$enable
v
al
]
,
[
ENABLED_LOCAL_INFILE
=
no
]
[
ENABLED_LOCAL_INFILE
=
no
]
)
)
AC_SUBST
(
ENABLE_LOCAL_INFILE
)
if
test
"
$ENABLED_LOCAL_INFILE
"
=
"yes"
then
AC_MSG_RESULT
([
yes
])
AC_DEFINE
([
ENABLED_LOCAL_INFILE]
)
else
AC_MSG_RESULT
([
no]
)
fi
# Use Paul Eggerts macros from GNU tar to check for large file support.
# Use Paul Eggerts macros from GNU tar to check for large file support.
MYSQL_SYS_LARGEFILE
MYSQL_SYS_LARGEFILE
...
...
libmysql/libmysql.c
View file @
ed8fc0b0
...
@@ -712,7 +712,7 @@ static void mysql_read_default_options(struct st_mysql_options *options,
...
@@ -712,7 +712,7 @@ static void mysql_read_default_options(struct st_mysql_options *options,
*
end
=
0
;
/* Remove '=' */
*
end
=
0
;
/* Remove '=' */
}
}
/* Change all '_' in variable name to '-' */
/* Change all '_' in variable name to '-' */
for
(
end
=
*
option
;
(
end
=
strcend
(
end
,
'_'
))
;
)
for
(
end
=
*
option
;
*
(
end
=
strcend
(
end
,
'_'
))
;
)
*
end
=
'-'
;
*
end
=
'-'
;
switch
(
find_type
(
*
option
+
2
,
&
option_types
,
2
))
{
switch
(
find_type
(
*
option
+
2
,
&
option_types
,
2
))
{
case
1
:
/* port */
case
1
:
/* port */
...
...
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