summaryrefslogtreecommitdiff
path: root/grid
diff options
context:
space:
mode:
authorunknown <Administrator@.(none)>2008-10-29 16:48:03 -0500
committerunknown <Administrator@.(none)>2008-10-29 16:48:03 -0500
commit9bc872695d6bd2875e4e7b050780ee074691981b (patch)
tree882173843669f815b02508d8020d4ab9406ecd47 /grid
parent1875ee8151c15677c7396b15a715be99b8f1ee62 (diff)
downloadmongo-9bc872695d6bd2875e4e7b050780ee074691981b.tar.gz
catch asserts and report error to client on a query
various dbgrid work incremental background job class
Diffstat (limited to 'grid')
-rw-r--r--grid/message.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/grid/message.cpp b/grid/message.cpp
index ac6e702d27e..894aae7f6c4 100644
--- a/grid/message.cpp
+++ b/grid/message.cpp
@@ -128,6 +128,9 @@ bool MessagingPort::connect(SockAddr& _far)
}
#else
+
+ boost::thread t;
+
int res = ::connect(sock, (sockaddr *) &farEnd.sa, farEnd.addressSize);
if( res ) {
closesocket(sock); sock = -1;