diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-04-10 00:53:27 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-04-10 14:47:36 -0400 |
commit | 3712f0a20baec00ac2df34c11d450a599360813c (patch) | |
tree | 44884dd505b3317822872f8aefa3d1982fb32d60 /src/mongo/db/commands/validate.cpp | |
parent | 70d98163d1a90bc4b076f7cd647cfef2c7054be9 (diff) | |
download | mongo-3712f0a20baec00ac2df34c11d450a599360813c.tar.gz |
SERVER-13084: remove some magic DiskLoc calls
Diffstat (limited to 'src/mongo/db/commands/validate.cpp')
-rw-r--r-- | src/mongo/db/commands/validate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/validate.cpp b/src/mongo/db/commands/validate.cpp index 6c1c52b629f..7b9d315863e 100644 --- a/src/mongo/db/commands/validate.cpp +++ b/src/mongo/db/commands/validate.cpp @@ -247,7 +247,7 @@ namespace mongo { cl_last = cl; } - Record *r = cl.rec(); + Record *r = collection->getRecordStore()->recordFor(cl); len += r->lengthWithHeaders(); nlen += r->netLength(); |