diff options
author | dwight <dwight@10gen.com> | 2010-11-23 04:16:04 -0500 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2010-11-23 04:16:04 -0500 |
commit | f6a923ca3f54b141b984be622da196ec6ea52b09 (patch) | |
tree | cc0bf78399b0134f23a36722c45ba22221bf8ec8 /scripting/sm_db.cpp | |
parent | 95517ebb6850029455a5a3caea953f805e7c9ddc (diff) | |
download | mongo-f6a923ca3f54b141b984be622da196ec6ea52b09.tar.gz |
show repl state in shell prompt. needs more work
Diffstat (limited to 'scripting/sm_db.cpp')
-rw-r--r-- | scripting/sm_db.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripting/sm_db.cpp b/scripting/sm_db.cpp index fa9287309d9..842e3059b5f 100644 --- a/scripting/sm_db.cpp +++ b/scripting/sm_db.cpp @@ -301,8 +301,7 @@ namespace mongo { DBClientWithCommands * conn = getConnection( cx, obj ); uassert( 10248 , "no connection!" , conn ); - - + string ns = c.toString( argv[0] ); BSONObj o = c.toObject( argv[1] ); |