From d1c483349f337dc6f94ff595845f4c0160794056 Mon Sep 17 00:00:00 2001 From: Alberto Lerner Date: Wed, 22 Sep 2010 17:46:15 -0400 Subject: [PATCH] debugging --- db/queryutil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/queryutil.cpp b/db/queryutil.cpp index b8d8b9bc2b1..175460e1b4c 100644 --- a/db/queryutil.cpp +++ b/db/queryutil.cpp @@ -1287,7 +1287,8 @@ namespace mongo { case dbUpdate: { int flags = d.pullInt(); BSONObj q = d.nextJsObj(); - ss << " flags: " << flags << " query: " << q; + BSONObj o = d.nextJsObj(); + ss << " flags: " << flags << " query: " << q << " update: " << o; break; } case dbInsert: