minors
authoradam <adamansky@gmail.com>
Mon, 12 Aug 2013 04:17:36 +0000 (11:17 +0700)
committeradam <adamansky@gmail.com>
Mon, 12 Aug 2013 04:17:36 +0000 (11:17 +0700)
tcejdb/bson.c

index 5942bcf..18dffd9 100644 (file)
@@ -1785,9 +1785,9 @@ static bson_visitor_cmd_t _bsonstripvisitor_include(const char *ipath, int ipath
         }
     }
 
-//    if (ictx->matched == TCMAPRNUM(ifields)) {
-//        return BSON_VCMD_TERMINATE;
-//    }
+    if (ictx->matched == TCMAPRNUM(ifields)) {
+        return BSON_VCMD_TERMINATE;
+    }
     return rv;
 }