diff options
Diffstat (limited to 'src/mongo/db/query/canonical_query_encoder.cpp')
-rw-r--r-- | src/mongo/db/query/canonical_query_encoder.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/mongo/db/query/canonical_query_encoder.cpp b/src/mongo/db/query/canonical_query_encoder.cpp index 4313b6efc2b..2572cd93a82 100644 --- a/src/mongo/db/query/canonical_query_encoder.cpp +++ b/src/mongo/db/query/canonical_query_encoder.cpp @@ -77,33 +77,6 @@ bool isQueryNegatingEqualToNull(const mongo::MatchExpression* tree) { namespace { -// Delimiters for cache key encoding. -const char kEncodeChildrenBegin = '['; -const char kEncodeChildrenEnd = ']'; -const char kEncodeChildrenSeparator = ','; -const char kEncodeCollationSection = '#'; -const char kEncodeProjectionSection = '|'; -const char kEncodeProjectionRequirementSeparator = '-'; -const char kEncodeRegexFlagsSeparator = '/'; -const char kEncodeSortSection = '~'; -const char kEncodeEngineSection = '@'; -const char kEncodePipelineSection = '^'; - -// These special bytes are used in the encoding of auto-parameterized match expressions in the SBE -// plan cache key. - -// Precedes the id number of a parameter marker. -const char kEncodeParamMarker = '?'; -// Precedes the encoding of a constant when that constant has not been auto-paramterized. The -// constant is typically encoded as a BSON type byte followed by a BSON value (without the -// BSONElement's field name). -const char kEncodeConstantLiteralMarker = ':'; -// Precedes a byte which encodes the bounds tightness associated with a predicate. The structure of -// the plan (i.e. presence of filters) is affected by bounds tightness. Therefore, if different -// parameter values can result in different tightnesses, this must be explicitly encoded into the -// plan cache key. -const char kEncodeBoundsTightnessDiscriminator = ':'; - /** * AppendChar provides the compiler with a type for a "appendChar(...)" member function. */ |