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
d0236e30
Commit
d0236e30
authored
Nov 21, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix for --bind-address=hostname
parent
e9e8cdf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sql/mysqld.cc
sql/mysqld.cc
+1
-2
No files found.
sql/mysqld.cc
View file @
d0236e30
...
@@ -3543,7 +3543,6 @@ static void set_options(void)
...
@@ -3543,7 +3543,6 @@ static void set_options(void)
#endif
#endif
my_bind_addr
=
htonl
(
INADDR_ANY
);
my_bind_addr
=
htonl
(
INADDR_ANY
);
}
}
/* Initiates DEBUG - but no debugging here ! */
/* Initiates DEBUG - but no debugging here ! */
static
void
get_options
(
int
argc
,
char
**
argv
)
static
void
get_options
(
int
argc
,
char
**
argv
)
...
@@ -3893,7 +3892,7 @@ static void get_options(int argc,char **argv)
...
@@ -3893,7 +3892,7 @@ static void get_options(int argc,char **argv)
else
else
{
{
struct
hostent
*
ent
;
struct
hostent
*
ent
;
if
(
!
optarg
||
!
optarg
[
0
])
if
(
optarg
&&
optarg
[
0
])
ent
=
gethostbyname
(
optarg
);
ent
=
gethostbyname
(
optarg
);
else
else
{
{
...
...
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