diff options
author | samontea <merciers.merciers@gmail.com> | 2019-07-11 11:18:42 -0400 |
---|---|---|
committer | samontea <merciers.merciers@gmail.com> | 2019-07-11 18:26:24 -0400 |
commit | 902b3f9135861b69b6581909299a8ada2db6588f (patch) | |
tree | 35d2524002504dcbb3cee4cf82b1699b975865f6 /src/mongo/db/exec/plan_stats.h | |
parent | 3962f8222c85c7b5fb2f558cf4269baea3f224cb (diff) | |
download | mongo-902b3f9135861b69b6581909299a8ada2db6588f.tar.gz |
SERVER-41279 Eliminate failed plans from consideration during query planning
Diffstat (limited to 'src/mongo/db/exec/plan_stats.h')
-rw-r--r-- | src/mongo/db/exec/plan_stats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/exec/plan_stats.h b/src/mongo/db/exec/plan_stats.h index 35f4c334eb2..e85a508979f 100644 --- a/src/mongo/db/exec/plan_stats.h +++ b/src/mongo/db/exec/plan_stats.h @@ -64,6 +64,7 @@ struct CommonStats { needTime(0), needYield(0), executionTimeMillis(0), + failed(false), isEOF(false) {} // String giving the type of the stage. Not owned. const char* stageTypeStr; @@ -93,6 +94,7 @@ struct CommonStats { // TODO: keep track of the total yield time / fetch time done for a plan. + bool failed; bool isEOF; private: |