-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.2.0-rc0
-
Component/s: Aggregation Framework
-
None
-
ALL
BSONElement opCopy(*pBsonElement); string value(opCopy.String()); /* check for a field path */ if (value[0] != '$') goto ExpectConstant; // assume plain string constant
Does not work if the String is empty.