diff options
author | Andrew Morrow <acm@10gen.com> | 2013-08-19 12:45:49 -0400 |
---|---|---|
committer | Andrew Morrow <acm@10gen.com> | 2013-09-12 12:10:27 -0400 |
commit | 917adade854b8301e5956d37093db02b1a248070 (patch) | |
tree | 3edabbae7cb318d73d4e479c31dc07d0c22826bf /src/mongo/db/field_ref.h | |
parent | a6177c60770d8612bf13118b72be2ecdcd23f0fc (diff) | |
download | mongo-917adade854b8301e5956d37093db02b1a248070.tar.gz |
SERVER-10159 Retain concatenated dotted path and return it that way when possible.
Diffstat (limited to 'src/mongo/db/field_ref.h')
-rw-r--r-- | src/mongo/db/field_ref.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/field_ref.h b/src/mongo/db/field_ref.h index 6c65784db1f..681f9873932 100644 --- a/src/mongo/db/field_ref.h +++ b/src/mongo/db/field_ref.h @@ -148,8 +148,8 @@ namespace mongo { // remaining field components std::vector<StringData> _variable; - // concatenation of null-terminated parts pointed to by _fixed and _variable - boost::scoped_array<char> _fieldBase; + // cached dotted name + std::string _dotted; // back memory added with the setPart call pointed to by _fized and _variable std::vector<std::string> _replacements; |