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
71767fc9
Commit
71767fc9
authored
Nov 21, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
into shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
parents
ec558dee
0b89340a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
configure.in
configure.in
+7
-7
sql/sql_parse.cc
sql/sql_parse.cc
+0
-4
No files found.
configure.in
View file @
71767fc9
...
...
@@ -1954,7 +1954,7 @@ fi
# Check definition of gethostbyname_r (glibc2.0.100 is different from Solaris)
ac_save_CXXFLAGS
=
"
$CXXFLAGS
"
AC_CACHE_CHECK
([
style of gethost
name_r routines], mysql_cv_gethost
name_style,
AC_CACHE_CHECK
([
style of gethost
byname_r routines], mysql_cv_gethostby
name_style,
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
if
test
"
$ac_cv_prog_gxx
"
=
"yes"
-a
"
$with_other_libc
"
=
"no"
...
...
@@ -1976,10 +1976,10 @@ AC_TRY_COMPILE(
skr
=
gethostbyname_r
((
const char
*
)
0,
(
struct hostent
*
)
0,
(
char
*
)
0, 0,
(
struct hostent
**
)
0, &skr
)
;
]
,
mysql_cv_gethost
name_style
=
glibc2,
mysql_cv_gethost
name_style
=
other
))
mysql_cv_gethost
byname_style
=
glibc2,
mysql_cv_gethostby
name_style
=
other
))
AC_LANG_RESTORE
CXXFLAGS
=
"
$ac_save_CXXFLAGS
"
if
test
"
$mysql_cv_gethostname_style
"
=
"glibc2"
if
test
"
$mysql_cv_gethost
by
name_style
"
=
"glibc2"
then
AC_DEFINE
([
HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE],
[
1],
[
Solaris define gethostbyname_r with 5 arguments. glibc2 defines this with 6 arguments]
)
...
...
@@ -1987,7 +1987,7 @@ fi
# Check 3rd argument of getthostbyname_r
ac_save_CXXFLAGS
=
"
$CXXFLAGS
"
AC_CACHE_CHECK
([
3 argument to gethost
name_r routines], mysql_cv_gethost
name_arg,
AC_CACHE_CHECK
([
3 argument to gethost
byname_r routines], mysql_cv_gethostby
name_arg,
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
if
test
"
$ac_cv_prog_gxx
"
=
"yes"
-a
"
$with_other_libc
"
=
"no"
...
...
@@ -2008,13 +2008,13 @@ AC_TRY_COMPILE(
[
int skr
;
skr
=
gethostbyname_r
((
const char
*
)
0,
(
struct hostent
*
)
0,
(
struct hostent_data
*
)
0
)
;
]
,
mysql_cv_gethost
name_arg
=
hostent_data,
mysql_cv_gethost
name_arg
=
char
))
mysql_cv_gethost
byname_arg
=
hostent_data,
mysql_cv_gethostby
name_arg
=
char
))
AC_LANG_RESTORE
CXXFLAGS
=
"
$ac_save_CXXFLAGS
"
if
test
"
$mysql_cv_gethostname_arg
"
=
"hostent_data"
if
test
"
$mysql_cv_gethost
by
name_arg
"
=
"hostent_data"
then
AC_DEFINE
([
HAVE_GETHOSTBYNAME_R_RETURN_INT],
[
1],
[
In OSF 4.0f the 3
'd argument to gethostname_r is hostent_data *])
[
In OSF 4.0f the 3
'd argument to gethost
by
name_r is hostent_data *])
fi
...
...
sql/sql_parse.cc
View file @
71767fc9
...
...
@@ -57,10 +57,6 @@
(LP)->sql_command == SQLCOM_DROP_FUNCTION ? \
"FUNCTION" : "PROCEDURE")
#ifdef SOLARIS
extern
"C"
int
gethostname
(
char
*
name
,
int
namelen
);
#endif
static
void
time_out_user_resource_limits
(
THD
*
thd
,
USER_CONN
*
uc
);
#ifndef NO_EMBEDDED_ACCESS_CHECKS
static
int
check_for_max_user_connections
(
THD
*
thd
,
USER_CONN
*
uc
);
...
...
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