projects
/
platform
/
upstream
/
ejdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efaeb7a
)
minors
author
adam
<adamansky@gmail.com>
Mon, 12 Aug 2013 04:21:51 +0000
(11:21 +0700)
committer
adam
<adamansky@gmail.com>
Mon, 12 Aug 2013 04:21:51 +0000
(11:21 +0700)
tcejdb/bson.c
patch
|
blob
|
history
diff --git
a/tcejdb/bson.c
b/tcejdb/bson.c
index
18dffd9
..
eafef2c
100644
(file)
--- a/
tcejdb/bson.c
+++ b/
tcejdb/bson.c
@@
-1785,7
+1785,7
@@
static bson_visitor_cmd_t _bsonstripvisitor_include(const char *ipath, int ipath
}
}
- if (ictx->matched == TCMAPRNUM(ifields)) {
+ if (ictx->
nstack == 0 && ictx->
matched == TCMAPRNUM(ifields)) {
return BSON_VCMD_TERMINATE;
}
return rv;