summaryrefslogtreecommitdiff
path: root/src/mongo/db/pdfile.h
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2012-05-30 17:40:24 -0400
committerAndy Schwerin <schwerin@10gen.com>2012-05-31 09:50:29 -0400
commitef4d5cbf766a99dddb886ffbadceef0def82beb8 (patch)
tree58d53c593e6a76899beb78bc6e82c207eadcde77 /src/mongo/db/pdfile.h
parentd0e8e4f665c69e2ee384c0828457038d40b1498e (diff)
downloadmongo-ef4d5cbf766a99dddb886ffbadceef0def82beb8.tar.gz
Rename sayDbContext() to logContext(), and move from util.{h,cpp} to log.{h,cpp}.
Remove now-empty util.h. Work toward SERVER-5702.
Diffstat (limited to 'src/mongo/db/pdfile.h')
-rw-r--r--src/mongo/db/pdfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pdfile.h b/src/mongo/db/pdfile.h
index 453411e0543..219cf71e9cd 100644
--- a/src/mongo/db/pdfile.h
+++ b/src/mongo/db/pdfile.h
@@ -33,8 +33,8 @@
#include "mongo/db/namespace-inl.h"
#include "mongo/db/namespace_details-inl.h"
#include "mongo/db/namespacestring.h"
+#include "mongo/util/log.h"
#include "mongo/util/mmap.h"
-#include "mongo/util/util.h"
namespace mongo {
@@ -501,7 +501,7 @@ namespace mongo {
if ( _nextOfs != DiskLoc::NullOfs ) {
/* defensive */
if ( _nextOfs >= 0 && _nextOfs < 10 ) {
- sayDbContext("Assertion failure - Record::getNext() referencing a deleted record?");
+ logContext("Assertion failure - Record::getNext() referencing a deleted record?");
return DiskLoc();
}