mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
comment
This commit is contained in:
parent
1dcb888bc9
commit
2c5dbf323c
@ -468,7 +468,10 @@ namespace mongo {
|
||||
bool multi = flags & UpdateOption_Multi;
|
||||
{
|
||||
string s = query.toString();
|
||||
/* todo: we shouldn't do all this ss stuff when we don't need it, it will slow us down. */
|
||||
/* todo: we shouldn't do all this ss stuff when we don't need it, it will slow us down.
|
||||
instead, let's just story the query BSON in the debug object, and it can toString()
|
||||
lazily
|
||||
*/
|
||||
op.debug().str << " query: " << s;
|
||||
op.setQuery(query);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user