summaryrefslogtreecommitdiff
path: root/src/tctdb
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 /src/tctdb
parent6ee7620da1c069f0cc112ba77dd2e8b41ae06a15 (diff)
downloadejdb-c20fa36ba325d5f8801a4aa040a21a677d78de28.tar.gz
ejdb-c20fa36ba325d5f8801a4aa040a21a677d78de28.tar.bz2
ejdb-c20fa36ba325d5f8801a4aa040a21a677d78de28.zip
- minors
Diffstat (limited to 'src/tctdb')
-rw-r--r--src/tctdb/tools/jbtmgr.c2
1 files changed, 1 insertions, 1 deletions
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++) {