Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-536

Query::getMaxTimeMs() does not use the correct field name

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • legacy-1.0.1
    • Affects Version/s: legacy-1.0.0
    • Component/s: None
    • Labels:

      The implementation of Query::getMaxTimeMs() uses a wrong name (i.e. maxTimeMs) for the field param:
      qq
      int Query::getMaxTimeMs() const

      { return obj.getIntField("maxTimeMs"); }

      qq

      The right name is "$maxTimeMS" - the string used by the set function, Query::maxTimeMs()

            Assignee:
            tyler@10gen.com Tyler Brock
            Reporter:
            ioancea Ionu?-Francisc Oancea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: