diff options
author | Mathias Stearn <mathias@10gen.com> | 2014-05-13 12:47:59 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2014-05-14 14:14:44 -0400 |
commit | e3885bae0383148dc36274b04662235f978de483 (patch) | |
tree | 0432f3060a95c1e7ff95223c80c6602836ed5b53 /src/mongo/db/dbwebserver.cpp | |
parent | 6378da06b637dbf86f916274c8f0457d925af6a9 (diff) | |
download | mongo-e3885bae0383148dc36274b04662235f978de483.tar.gz |
SERVER-13641 Unify Command::newRun into run
This is the result of the following seds and a few manual fixups, including
removing the old run() and fixing the comments.
git grep -l '\<run(const' | xargs sed -si -e 's/\brun(const/newRun(TransactionExperiment* txn, const/'
git grep -l '\<run( const' | xargs sed -si -e 's/\brun( const/newRun(TransactionExperiment* txn, const/'
git grep -l '\<newRun(' | xargs sed -si -e 's/\bnewRun(/run(/'
Diffstat (limited to 'src/mongo/db/dbwebserver.cpp')
-rw-r--r-- | src/mongo/db/dbwebserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbwebserver.cpp b/src/mongo/db/dbwebserver.cpp index e63ad58f0d8..c5ce87bb068 100644 --- a/src/mongo/db/dbwebserver.cpp +++ b/src/mongo/db/dbwebserver.cpp @@ -472,7 +472,7 @@ namespace mongo { string errmsg; BSONObjBuilder sub; - if ( ! c->newRun( txn, "admin.$cmd" , co , 0, errmsg , sub , false ) ) + if ( ! c->run( txn, "admin.$cmd" , co , 0, errmsg , sub , false ) ) buf.append( cmd , errmsg ); else buf.append( cmd , sub.obj() ); |