summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-03-24 14:33:36 -0400
committerAaron <aaron@10gen.com>2009-03-24 14:33:36 -0400
commit55a170aaa5e6b277d751bac3f7aed7cb0ab487d7 (patch)
tree7191e5697eb2c1496ff0875596722113d0aa1f6f /db
parenta6c9d60843f2aac9d6704316425dfc3c9622ba5c (diff)
downloadmongo-55a170aaa5e6b277d751bac3f7aed7cb0ab487d7.tar.gz
mod checkpoint
Diffstat (limited to 'db')
-rw-r--r--db/query.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/query.cpp b/db/query.cpp
index f0241484e1a..6d048a6ed49 100644
--- a/db/query.cpp
+++ b/db/query.cpp
@@ -1035,6 +1035,7 @@ namespace mongo {
int queryOptions = q.queryOptions;
Timer t;
+ cout << "query obj: " << jsobj << endl;
log(2) << "runQuery: " << ns << jsobj << endl;
@@ -1100,6 +1101,7 @@ namespace mongo {
{
BSONElement e = jsobj.findElement("orderby");
if ( !e.eoo() ) {
+ cout << "e type: " << e.type() << endl;
order = e.embeddedObjectUserCheck();
if ( e.type() == Array )
order = transformOrderFromArrayFormat(order);