summaryrefslogtreecommitdiff
path: root/tcejdb
diff options
context:
space:
mode:
authoradam <adamansky@gmail.com>2012-11-25 18:15:50 +0700
committeradam <adamansky@gmail.com>2012-11-25 18:15:50 +0700
commit2d501241d5f8965aff441456be9e36494d0a0385 (patch)
tree6e20fb283b21a226dcfc4d6d4586a4c334d386d0 /tcejdb
parent6a9754de49d94e98c37cf62a61fc34445215f63c (diff)
downloadejdb-2d501241d5f8965aff441456be9e36494d0a0385.tar.gz
ejdb-2d501241d5f8965aff441456be9e36494d0a0385.tar.bz2
ejdb-2d501241d5f8965aff441456be9e36494d0a0385.zip
minors
Diffstat (limited to 'tcejdb')
-rw-r--r--tcejdb/ejdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcejdb/ejdb.c b/tcejdb/ejdb.c
index 1f34e96..67f5893 100644
--- a/tcejdb/ejdb.c
+++ b/tcejdb/ejdb.c
@@ -340,7 +340,7 @@ EJDB_EXPORT bool ejdbsavebson(EJCOLL *jcoll, bson *bs, bson_oid_t *oid) {
memmove(obsdata, obs, obsdatasz);
}
} else {
- rowm = tcmapnew2(64);
+ rowm = tcmapnew2(TCMAPTINYBNUM);
}
tcmapput(rowm, JDBCOLBSON, JDBCOLBSONL, bson_data(bs), bson_size(bs));
if (!tctdbput(tdb, oid, sizeof (*oid), rowm)) {