summaryrefslogtreecommitdiff
path: root/s/d_migrate.cpp
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2010-09-20 15:11:43 -0400
committerAlberto Lerner <alerner@10gen.com>2010-09-20 15:11:43 -0400
commitf8897d2e651cc11fb9d67f1a295b60835a6ebc97 (patch)
tree9a5ee203da129ee686a331f81bb917a855a291a3 /s/d_migrate.cpp
parent56d8f75f9dcc130b42ec1152c21a0bbb6b69b635 (diff)
downloadmongo-f8897d2e651cc11fb9d67f1a295b60835a6ebc97.tar.gz
avoid shadowing variable in scope
Diffstat (limited to 's/d_migrate.cpp')
-rw-r--r--s/d_migrate.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/s/d_migrate.cpp b/s/d_migrate.cpp
index 3a8b0d748ba..a0be62b5484 100644
--- a/s/d_migrate.cpp
+++ b/s/d_migrate.cpp
@@ -633,11 +633,11 @@ namespace mongo {
// 5.b
{
BSONObj res;
- ScopedDbConnection conn( to );
- bool ok = conn->runCommand( "admin" ,
- BSON( "_recvChunkCommit" << 1 ) ,
- res );
- conn.done();
+ ScopedDbConnection connTo( to );
+ bool ok = connTo->runCommand( "admin" ,
+ BSON( "_recvChunkCommit" << 1 ) ,
+ res );
+ connTo.done();
log() << "moveChunk commit result: " << res << endl;
if ( ! ok ){
log() << "_recvChunkCommit failed: " << res << endl;