mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-19106 remove usages of extra in curop
This commit is contained in:
parent
6617637aad
commit
2b3a5788be
@ -373,8 +373,6 @@ uint64_t CurOp::MaxTimeTracker::getRemainingMicros() const {
|
||||
}
|
||||
|
||||
void OpDebug::reset() {
|
||||
extra.reset();
|
||||
|
||||
op = 0;
|
||||
iscommand = false;
|
||||
ns = "";
|
||||
@ -485,9 +483,6 @@ string OpDebug::report(const CurOp& curop, const SingleThreadedLockStats& lockSt
|
||||
OPDEBUG_TOSTRING_HELP(keyUpdates);
|
||||
OPDEBUG_TOSTRING_HELP(writeConflicts);
|
||||
|
||||
if (extra.len())
|
||||
s << " " << extra.str();
|
||||
|
||||
if (!exceptionInfo.empty()) {
|
||||
s << " exception: " << exceptionInfo.msg;
|
||||
if (exceptionInfo.code)
|
||||
|
@ -148,8 +148,6 @@ public:
|
||||
|
||||
// -------------------
|
||||
|
||||
StringBuilder extra; // weird things we need to fix later
|
||||
|
||||
// basic options
|
||||
int op;
|
||||
bool iscommand;
|
||||
|
Loading…
Reference in New Issue
Block a user