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:
b27f799
)
#97
author
adam
<adamansky@gmail.com>
Tue, 3 Sep 2013 12:35:05 +0000
(19:35 +0700)
committer
adam
<adamansky@gmail.com>
Tue, 3 Sep 2013 12:35:05 +0000
(19:35 +0700)
tcejdb/ejdb.c
patch
|
blob
|
history
diff --git
a/tcejdb/ejdb.c
b/tcejdb/ejdb.c
index
c82788c
..
9770a45
100644
(file)
--- a/
tcejdb/ejdb.c
+++ b/
tcejdb/ejdb.c
@@
-4035,6
+4035,9
@@
static bool _qrypreprocess(_QRYCTX *ctx) {
firstorderqf = true;
}
if (!qf->idx || !qf->idxmeta) {
+ if (qf->idxmeta) {
+ bson_del(qf->idxmeta);
+ }
qf->idx = NULL;
qf->idxmeta = NULL;
continue;