summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicholas Zolnierz <nicholas.zolnierz@mongodb.com>2022-09-02 13:52:54 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-02 15:25:52 +0000
commite05c628e0bb27cffcd57a796e3a328b219ab36f2 (patch)
tree133451e01cc4650f0089646f1c2571a26ced2143 /src
parenteda796994e216122f701713adff936817e2cef2c (diff)
downloadmongo-e05c628e0bb27cffcd57a796e3a328b219ab36f2.tar.gz
SERVER-68895 Load static version of ABT gdb printers if dynamic is not available
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/query/optimizer/syntax/syntax.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/query/optimizer/syntax/syntax.h b/src/mongo/db/query/optimizer/syntax/syntax.h
index d44d32fbc00..03f35718871 100644
--- a/src/mongo/db/query/optimizer/syntax/syntax.h
+++ b/src/mongo/db/query/optimizer/syntax/syntax.h
@@ -39,6 +39,14 @@
namespace mongo::optimizer {
+/**
+ * This is the core typedef that represents an abstract binding tree (ABT). The templated types
+ * represent all possible instances for a given ABT operator, each deriving from an Operator class
+ * that indicates the number of children nodes.
+ *
+ * NOTE: If the set of possible types in an ABT changes, please update the corresponding gdb
+ * pretty printer.
+ */
using ABT = algebra::PolyValue<Blackhole,
Constant, // expressions
Variable,