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
f975b3e3
Commit
f975b3e3
authored
May 18, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
fbc43bf6
2457643b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
storage/ndb/src/common/transporter/TransporterRegistry.cpp
storage/ndb/src/common/transporter/TransporterRegistry.cpp
+6
-4
No files found.
storage/ndb/src/common/transporter/TransporterRegistry.cpp
View file @
f975b3e3
...
@@ -746,10 +746,6 @@ TransporterRegistry::poll_TCP(Uint32 timeOutMillis)
...
@@ -746,10 +746,6 @@ TransporterRegistry::poll_TCP(Uint32 timeOutMillis)
return
0
;
return
0
;
}
}
struct
timeval
timeout
;
timeout
.
tv_sec
=
timeOutMillis
/
1000
;
timeout
.
tv_usec
=
(
timeOutMillis
%
1000
)
*
1000
;
NDB_SOCKET_TYPE
maxSocketValue
=
-
1
;
NDB_SOCKET_TYPE
maxSocketValue
=
-
1
;
// Needed for TCP/IP connections
// Needed for TCP/IP connections
...
@@ -775,6 +771,12 @@ TransporterRegistry::poll_TCP(Uint32 timeOutMillis)
...
@@ -775,6 +771,12 @@ TransporterRegistry::poll_TCP(Uint32 timeOutMillis)
hasdata
|=
t
->
hasReceiveData
();
hasdata
|=
t
->
hasReceiveData
();
}
}
timeOutMillis
=
hasdata
?
0
:
timeOutMillis
;
struct
timeval
timeout
;
timeout
.
tv_sec
=
timeOutMillis
/
1000
;
timeout
.
tv_usec
=
(
timeOutMillis
%
1000
)
*
1000
;
// The highest socket value plus one
// The highest socket value plus one
maxSocketValue
++
;
maxSocketValue
++
;
...
...
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