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
8888e917
Commit
8888e917
authored
Jul 27, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0
into mysql.com:/home/jimw/my/mysql-5.0-clean
parents
5ac378ba
da9ef5a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/hostname.cc
sql/hostname.cc
+2
-2
No files found.
sql/hostname.cc
View file @
8888e917
...
@@ -143,8 +143,8 @@ my_string ip_to_hostname(struct in_addr *in, uint *errors)
...
@@ -143,8 +143,8 @@ my_string ip_to_hostname(struct in_addr *in, uint *errors)
*
errors
=
0
;
*
errors
=
0
;
/* We always treat the loopback address as "localhost". */
/* We always treat the loopback address as "localhost". */
if
(
in
->
s_addr
==
INADDR_LOOPBACK
)
if
(
in
->
s_addr
==
htonl
(
INADDR_LOOPBACK
)
)
return
(
char
*
)
my_localhost
;
DBUG_RETURN
((
char
*
)
my_localhost
)
;
/* Check first if we have name in cache */
/* Check first if we have name in cache */
if
(
!
(
specialflag
&
SPECIAL_NO_HOST_CACHE
))
if
(
!
(
specialflag
&
SPECIAL_NO_HOST_CACHE
))
...
...
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