0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00
This commit is contained in:
Dwight 2010-02-03 17:51:06 -05:00
parent 1dcb888bc9
commit 2c5dbf323c

View File

@ -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);
}