diff options
Diffstat (limited to 'src/mongo/s/chunk.cpp')
-rw-r--r-- | src/mongo/s/chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/chunk.cpp b/src/mongo/s/chunk.cpp index 8fe331f9c26..b62a0da7512 100644 --- a/src/mongo/s/chunk.cpp +++ b/src/mongo/s/chunk.cpp @@ -532,7 +532,7 @@ namespace { bool Chunk::splitIfShould( long dataWritten ) const { dassert( ShouldAutoSplit ); - LastError::Disabled d(&LastError::get(cc())); + LastError::Disabled d( lastError.get() ); try { _dataWritten += dataWritten; |