summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/ce/hinted_estimator.cpp
diff options
context:
space:
mode:
authorSvilen Mihaylov <svilen.mihaylov@mongodb.com>2022-12-12 14:20:14 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-12 14:50:51 +0000
commit7e2c544eafc88db80a0d9d026acf1a2a58aa3bdb (patch)
tree4266e050bca881fc92f52f9f894a533e8ebca5eb /src/mongo/db/query/ce/hinted_estimator.cpp
parentadb64c11d8b62d85223e7279c98ac89ac4fc06d5 (diff)
downloadmongo-7e2c544eafc88db80a0d9d026acf1a2a58aa3bdb.tar.gz
SERVER-71332 [CQF] Strong alias for Selectivity and Cardinality
Diffstat (limited to 'src/mongo/db/query/ce/hinted_estimator.cpp')
-rw-r--r--src/mongo/db/query/ce/hinted_estimator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/ce/hinted_estimator.cpp b/src/mongo/db/query/ce/hinted_estimator.cpp
index b27381268b8..41b63a8f914 100644
--- a/src/mongo/db/query/ce/hinted_estimator.cpp
+++ b/src/mongo/db/query/ce/hinted_estimator.cpp
@@ -58,7 +58,7 @@ public:
if (canBeLogicalNode<T>()) {
return _heuristicCE.deriveCE(_metadata, _memo, _logicalProps, n.ref());
}
- return 0.0;
+ return {0.0};
}
static CEType derive(const Metadata& metadata,