summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2012-11-17 02:01:26 -0500
committerRandolph Tan <randolph@10gen.com>2012-11-17 02:01:34 -0500
commit054155bb07d721a611f3c241f9b5f07667a72494 (patch)
tree8be14a32448a33f94d874a60efcb65e6aad27160 /src
parent83dbdf1a38b2620701ad85b307ecbb799caa38ba (diff)
downloadmongo-054155bb07d721a611f3c241f9b5f07667a72494.tar.gz
buildbot compire error fix for SERVER-4706
Diffstat (limited to 'src')
-rw-r--r--src/mongo/client/connpool.h2
-rw-r--r--src/mongo/client/dbclient.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/client/connpool.h b/src/mongo/client/connpool.h
index 61a65d5d20b..5575f44c8a2 100644
--- a/src/mongo/client/connpool.h
+++ b/src/mongo/client/connpool.h
@@ -49,7 +49,7 @@ namespace mongo {
int numAvailable() const { return (int)_pool.size(); }
void createdOne( DBClientBase * base );
- int64_t numCreated() const { return _created; }
+ long long numCreated() const { return _created; }
ConnectionString::ConnectionType type() const { verify(_created); return _type; }
diff --git a/src/mongo/client/dbclient.cpp b/src/mongo/client/dbclient.cpp
index d7501c352e0..0ebdfe9d7a3 100644
--- a/src/mongo/client/dbclient.cpp
+++ b/src/mongo/client/dbclient.cpp
@@ -806,7 +806,7 @@ namespace mongo {
}
}
- const uint64_t DBClientBase::INVALID_SOCK_CREATION_TIME = 0xFFFFFFFFFFFFFFFF;
+ const uint64_t DBClientBase::INVALID_SOCK_CREATION_TIME = UINT64_MAX;
auto_ptr<DBClientCursor> DBClientBase::query(const string &ns, Query query, int nToReturn,
int nToSkip, const BSONObj *fieldsToReturn, int queryOptions , int batchSize ) {