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

Remove LastError, DiagStr, and SpinLock from driver

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • legacy-0.8.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      SpinLock is brought in for one part of the mocklib where it isn't needed, and via the following chain:

      SpinLock <- DiagStr <- sock.cpp::_hostNameCached <- mongo::getHostNameCached <- mongo::prettyHostName <- mongo::LastError

      I suspect that this entire chain can be removed from the driver.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: