diff options
author | Alberto Lerner <alberto.lerner@gmail.com> | 2012-05-02 15:26:44 -0400 |
---|---|---|
committer | Alberto Lerner <alberto.lerner@gmail.com> | 2012-05-02 15:27:19 -0400 |
commit | 8e5ae62d12cc50fcc7d85dae7804acae932433e1 (patch) | |
tree | e3250ca59586fb89b20eae0b640a01656332ad1e /src/mongo/s/request.cpp | |
parent | a105cf0bb3b8bc8aac662441f53deae5e4e83462 (diff) | |
download | mongo-8e5ae62d12cc50fcc7d85dae7804acae932433e1.tar.gz |
Disambiguated file name.
Diffstat (limited to 'src/mongo/s/request.cpp')
-rw-r--r-- | src/mongo/s/request.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/request.cpp b/src/mongo/s/request.cpp index 58960170656..e08abb22d66 100644 --- a/src/mongo/s/request.cpp +++ b/src/mongo/s/request.cpp @@ -31,7 +31,7 @@ #include "stats.h" #include "cursors.h" #include "grid.h" -#include "client.h" +#include "client_info.h" namespace mongo { @@ -53,8 +53,8 @@ namespace mongo { use = need; else nsToDatabase(getns(), cl); - - uassert( 15845 , + + uassert( 15845 , str::stream() << "unauthorized for db:" << use << " level: " << levelNeeded , _clientInfo->getAuthenticationInfo()->isAuthorizedForLevel(use,levelNeeded) ); } |