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
9de77cc9
Commit
9de77cc9
authored
Sep 11, 2003
by
ram@mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for the bug #1200: Can't start MySQL if bind-address set to hostname that starts with a number.
parent
f434b329
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
sql/mysqld.cc
sql/mysqld.cc
+1
-5
No files found.
sql/mysqld.cc
View file @
9de77cc9
...
@@ -5163,11 +5163,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
...
@@ -5163,11 +5163,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
my_use_symdir
=
0
;
my_use_symdir
=
0
;
break
;
break
;
case
(
int
)
OPT_BIND_ADDRESS
:
case
(
int
)
OPT_BIND_ADDRESS
:
if
(
argument
&&
my_isdigit
(
mysqld_charset
,
argument
[
0
]))
if
(
!
argument
||
(
my_bind_addr
=
(
ulong
)
inet_addr
(
argument
))
==
INADDR_NONE
)
{
my_bind_addr
=
(
ulong
)
inet_addr
(
argument
);
}
else
{
{
struct
hostent
*
ent
;
struct
hostent
*
ent
;
if
(
argument
||
argument
[
0
])
if
(
argument
||
argument
[
0
])
...
...
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