From a77988fd3544ae3d5e92ed790b981d893d70e910 Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 14 Aug 2013 15:06:37 +0700 Subject: [PATCH] #91 --- tcejdb/ejdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tcejdb/ejdb.c b/tcejdb/ejdb.c index 6fc8aae..97f3a2d 100644 --- a/tcejdb/ejdb.c +++ b/tcejdb/ejdb.c @@ -2565,6 +2565,7 @@ static bool _pushprocessedbson(EJDB *jb, EJQ *q, TCLIST *res, TCMAP *dfields, TC const char *dpos = strchr(dfpath, '$'); assert(dpos); ctx.iafpathidx = (dpos - dfpath) - 1; + qf->mflags = (qf->flags & ~EJFEXCLUDED); if (!_qrybsrecurrmatch(qf, &ctx, 0)) { assert(false); //something wrong, it should never be happen } else if (ctx.iamachidx >= 0) { -- 2.7.4