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
b0d94e9d
Commit
b0d94e9d
authored
Jan 24, 2007
by
stewart@willster.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into willster.(none):/home/stewart/Documents/MySQL/5.0/ndb-work
parents
f869a0d6
4889ea23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ndb/src/common/util/SocketClient.cpp
ndb/src/common/util/SocketClient.cpp
+2
-2
No files found.
ndb/src/common/util/SocketClient.cpp
View file @
b0d94e9d
...
...
@@ -109,7 +109,7 @@ SocketClient::connect(const char *toaddress, unsigned short toport)
struct
timeval
tval
;
int
r
;
bool
use_timeout
;
socklen_t
len
;
SOCKOPT_OPTLEN_TYPE
len
;
int
flags
;
if
(
m_sockfd
==
NDB_INVALID_SOCKET
)
...
...
@@ -168,7 +168,7 @@ SocketClient::connect(const char *toaddress, unsigned short toport)
if
(
FD_ISSET
(
m_sockfd
,
&
rset
)
||
FD_ISSET
(
m_sockfd
,
&
wset
))
{
len
=
sizeof
(
r
);
if
(
getsockopt
(
m_sockfd
,
SOL_SOCKET
,
SO_ERROR
,
&
r
,
&
len
)
<
0
)
if
(
getsockopt
(
m_sockfd
,
SOL_SOCKET
,
SO_ERROR
,
&
r
,
&
len
)
<
0
||
r
)
{
// Solaris got an error... different than others
NDB_CLOSE_SOCKET
(
m_sockfd
);
...
...
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