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
8bd71ab1
Commit
8bd71ab1
authored
Nov 21, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix for --bind-address=hostname
parent
73b84706
Changes
1
Hide 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 @
8bd71ab1
...
@@ -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