summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Adamansky <adamansky@gmail.com>2017-03-15 17:17:34 +0700
committerAnton Adamansky <adamansky@gmail.com>2017-03-15 17:17:34 +0700
commitc20fa36ba325d5f8801a4aa040a21a677d78de28 (patch)
tree9c55bb0a70ab2ad77bfc52a766d098d2d40069c8
parent6ee7620da1c069f0cc112ba77dd2e8b41ae06a15 (diff)
downloadejdb-c20fa36ba325d5f8801a4aa040a21a677d78de28.tar.gz
ejdb-c20fa36ba325d5f8801a4aa040a21a677d78de28.tar.bz2
ejdb-c20fa36ba325d5f8801a4aa040a21a677d78de28.zip
- minors
-rw-r--r--Changelog6
-rw-r--r--src/tcbdb/tools/jbbmgr.c2
-rw-r--r--src/tctdb/tools/jbtmgr.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index b69eaf2..620fed8 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,9 @@
+ejdb (1.2.11) UNRELEASED; urgency=medium
+
+ * EJDB_EXPORT for bson_free fixed #160
+
+ -- Anton Adamansky <adamansky@gmail.com> Sun, 13 Sep 2015 10:18:18 +0600
+
ejdb (1.2.10) testing; urgency=medium
* Fix: Uninitialized Memory Conditional fixe #155
diff --git a/src/tcbdb/tools/jbbmgr.c b/src/tcbdb/tools/jbbmgr.c
index c28bb40..67b4863 100644
--- a/src/tcbdb/tools/jbbmgr.c
+++ b/src/tcbdb/tools/jbbmgr.c
@@ -257,7 +257,7 @@ static int runput(int argc, char **argv) {
char *key = NULL;
char *value = NULL;
TCCMP cmp = NULL;
- int omode = 0;
+ int omode = BDBOCREAT | BDBOWRITER;;
int dmode = 0;
bool sx = false;
for (int i = 2; i < argc; i++) {
diff --git a/src/tctdb/tools/jbtmgr.c b/src/tctdb/tools/jbtmgr.c
index 9e74d2d..af67607 100644
--- a/src/tctdb/tools/jbtmgr.c
+++ b/src/tctdb/tools/jbtmgr.c
@@ -247,7 +247,7 @@ static int runput(int argc, char **argv) {
char *path = NULL;
char *pkey = NULL;
TCLIST *vals = tcmpoollistnew(tcmpoolglobal());
- int omode = 0;
+ int omode = TDBOCREAT | TDBOWRITER;
int dmode = 0;
bool sx = false;
for (int i = 2; i < argc; i++) {