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
2e5903f9
Commit
2e5903f9
authored
Jul 27, 2005
by
unknown
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
f57bb24d
3fef0d70
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 @
2e5903f9
...
@@ -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