summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-11-16 14:44:31 -0500
committerEliot Horowitz <eliot@10gen.com>2010-11-16 14:44:39 -0500
commit7a16417a8d925f38a56c8e4ded8597508552ffd5 (patch)
treecb05c975731fdd8263bb8d58408d4df21a689899
parent598af81eaa74d1ee0a398b48f3c8174c7e643098 (diff)
downloadmongo-7a16417a8d925f38a56c8e4ded8597508552ffd5.tar.gz
comments
-rw-r--r--db/namespace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/namespace.h b/db/namespace.h
index 0c8e086bccd..db4bb38209c 100644
--- a/db/namespace.h
+++ b/db/namespace.h
@@ -128,7 +128,8 @@ namespace mongo {
DiskLoc deletedList[Buckets];
// ofs 168 (8 byte aligned)
struct Stats {
- long long datasize; //datasize and nrecords MUST Be adjacent code assumes!
+ // datasize and nrecords MUST Be adjacent code assumes!
+ long long datasize; // this includes padding, but not record headers
long long nrecords;
} stats;
int lastExtentSize;