summaryrefslogtreecommitdiff
path: root/src/mongo/db/introspect.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-12-02 02:51:23 -0500
committerEliot Horowitz <eliot@10gen.com>2012-12-02 02:51:23 -0500
commitb8ed302c0c54632cbd40a4fac1a3c8810c94d99e (patch)
tree387d56e9fa2d4d011b78babe83aba5e3d3a6d2ac /src/mongo/db/introspect.h
parent336d7bfdbfb6f3a1c1fb01ff1f5afc24ab27232c (diff)
downloadmongo-b8ed302c0c54632cbd40a4fac1a3c8810c94d99e.tar.gz
SERVER-7814 - log error but don't fail user op if can't profile
Diffstat (limited to 'src/mongo/db/introspect.h')
-rw-r--r--src/mongo/db/introspect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/introspect.h b/src/mongo/db/introspect.h
index a4a1eb8f694..980d7c72b1c 100644
--- a/src/mongo/db/introspect.h
+++ b/src/mongo/db/introspect.h
@@ -38,6 +38,6 @@ namespace mongo {
* @param force Always create the collection if it does not exist
* @return NamespaceDetails for the newly created collection, or NULL on error
**/
- NamespaceDetails* getOrCreateProfileCollection(Database *db, bool force = false);
+ NamespaceDetails* getOrCreateProfileCollection(Database *db, bool force = false, string* errmsg = NULL);
} // namespace mongo