summaryrefslogtreecommitdiff
path: root/db/introspect.cpp
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-12-02 14:24:45 -0500
committerDwight <dmerriman@gmail.com>2008-12-02 14:24:45 -0500
commit60b769a8cb1eb0dbb4e210ef6cdc5e0bb17fb91e (patch)
treef45e3eb01fbf91d4d6397258d15ffbcbb0b0c7c4 /db/introspect.cpp
parentaa8d238b0f9cbd586cf15af5bfaafc06678165cd (diff)
downloadmongo-60b769a8cb1eb0dbb4e210ef6cdc5e0bb17fb91e.tar.gz
replication fixes -- "first: true" support (local.dbinfo.*); clean up class name
Diffstat (limited to 'db/introspect.cpp')
-rw-r--r--db/introspect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/introspect.cpp b/db/introspect.cpp
index 599b9aee9be..bda75df05fd 100644
--- a/db/introspect.cpp
+++ b/db/introspect.cpp
@@ -50,6 +50,6 @@ void profile(const char *str,
b.append("info", str);
b.append("millis", (double) millis);
BSONObj p = b.done();
- theDataFileMgr.insert(client->profileName.c_str(),
+ theDataFileMgr.insert(database->profileName.c_str(),
p.objdata(), p.objsize(), true);
}