diff options
Diffstat (limited to 'src/mongo/db/exec/sort.h')
-rw-r--r-- | src/mongo/db/exec/sort.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/exec/sort.h b/src/mongo/db/exec/sort.h index 85c4aa444b9..adadc9ad121 100644 --- a/src/mongo/db/exec/sort.h +++ b/src/mongo/db/exec/sort.h @@ -54,6 +54,9 @@ public: // Equal to 0 for no limit. size_t limit = 0; + + // Whether we allow disk use, disabled by default. + bool allowDiskUse = false; }; /** @@ -99,6 +102,8 @@ private: // Equal to 0 for no limit. size_t _limit; + bool _allowDiskUse; + // // Data storage // |