first checking of simple/fast resettable StringBuilder

This commit is contained in:
Eliot Horowitz
2009-12-29 17:32:31 -05:00
parent 5c846e0139
commit ac84841e63
4 changed files with 161 additions and 3 deletions

View File

@@ -257,12 +257,12 @@ namespace mongo {
Client& c = cc();
c.clearns();
stringstream ss;
CurOp& currentOp = *c.curop();
currentOp.reset( client);
currentOp.setOp(op);
stringstream& ss = currentOp.debugstream();
int logThreshold = cmdLine.slowMS;
bool log = logLevel >= 1;