diff options
Diffstat (limited to 'src/mongo/db/exec/sort_executor.h')
| -rw-r--r-- | src/mongo/db/exec/sort_executor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sort_executor.h b/src/mongo/db/exec/sort_executor.h index 8120f52caa9..6509c767e9a 100644 --- a/src/mongo/db/exec/sort_executor.h +++ b/src/mongo/db/exec/sort_executor.h @@ -139,7 +139,7 @@ public: } _output.reset(_sorter->done()); _stats.keysSorted += _sorter->numSorted(); - _stats.spills += _sorter->stats().spilledRanges(); + _stats.spills += _sorter->numSpills(); _stats.totalDataSizeBytes += _sorter->totalDataSizeSorted(); _sorter.reset(); } |
