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
ad98551d
Commit
ad98551d
authored
Dec 27, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
b5709217
8e0f4c5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
sql/mysqld.cc
sql/mysqld.cc
+3
-12
No files found.
sql/mysqld.cc
View file @
ad98551d
...
...
@@ -141,15 +141,6 @@ extern "C" { // Because of SCO 3.2V4.2
int
allow_severity
=
LOG_INFO
;
int
deny_severity
=
LOG_WARNING
;
#ifdef __STDC__
#define my_fromhost(A) fromhost(A)
#define my_hosts_access(A) hosts_access(A)
#define my_eval_client(A) eval_client(A)
#else
#define my_fromhost(A) fromhost()
#define my_hosts_access(A) hosts_access()
#define my_eval_client(A) eval_client()
#endif
/* __STDC__ */
#endif
/* HAVE_LIBWRAP */
#ifdef HAVE_SYS_MMAN_H
...
...
@@ -3574,8 +3565,8 @@ extern "C" pthread_handler_decl(handle_connections_sockets,
struct
request_info
req
;
signal
(
SIGCHLD
,
SIG_DFL
);
request_init
(
&
req
,
RQ_DAEMON
,
libwrapName
,
RQ_FILE
,
new_sock
,
NULL
);
my_
fromhost
(
&
req
);
if
(
!
my_
hosts_access
(
&
req
))
fromhost
(
&
req
);
if
(
!
hosts_access
(
&
req
))
{
/*
This may be stupid but refuse() includes an exit(0)
...
...
@@ -3583,7 +3574,7 @@ extern "C" pthread_handler_decl(handle_connections_sockets,
clean_exit() - same stupid thing ...
*/
syslog
(
deny_severity
,
"refused connect from %s"
,
my_
eval_client
(
&
req
));
eval_client
(
&
req
));
/*
C++ sucks (the gibberish in front just translates the supplied
...
...
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