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
5c059f7d
Commit
5c059f7d
authored
Nov 14, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#32359
Increase connection negotiation timeout Improve some weirdness
parent
574bce49
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
storage/ndb/src/common/transporter/Transporter.cpp
storage/ndb/src/common/transporter/Transporter.cpp
+2
-2
storage/ndb/src/common/transporter/TransporterRegistry.cpp
storage/ndb/src/common/transporter/TransporterRegistry.cpp
+2
-1
No files found.
storage/ndb/src/common/transporter/Transporter.cpp
View file @
5c059f7d
...
...
@@ -70,7 +70,7 @@ Transporter::Transporter(TransporterRegistry &t_reg,
signalIdUsed
=
_signalId
;
m_connected
=
false
;
m_timeOutMillis
=
1
000
;
m_timeOutMillis
=
30
000
;
m_connect_address
.
s_addr
=
0
;
if
(
s_port
<
0
)
...
...
@@ -101,7 +101,7 @@ Transporter::connect_server(NDB_SOCKET_TYPE sockfd) {
if
(
m_connected
)
{
DBUG_RETURN
(
tru
e
);
// TODO assert(0);
DBUG_RETURN
(
fals
e
);
// TODO assert(0);
}
{
...
...
storage/ndb/src/common/transporter/TransporterRegistry.cpp
View file @
5c059f7d
...
...
@@ -758,7 +758,8 @@ TransporterRegistry::poll_TCP(Uint32 timeOutMillis)
TCP_Transporter
*
t
=
theTCPTransporters
[
i
];
// If the transporter is connected
if
(
t
->
isConnected
())
{
NodeId
nodeId
=
t
->
getRemoteNodeId
();
if
(
is_connected
(
nodeId
)
&&
t
->
isConnected
())
{
const
NDB_SOCKET_TYPE
socket
=
t
->
getSocket
();
// Find the highest socket value. It will be used by select
...
...
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