summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@wiredtiger.com>2011-10-05 14:10:38 +0000
committerKeith Bostic <keith.bostic@wiredtiger.com>2011-10-05 14:10:38 +0000
commitc1417a2d8078ccee93399216a6199eed491e6c31 (patch)
tree8289e4e95f39fe4f795eec0bd54248956455420b /examples
parent5bd1f08214d55ac148f5e47daf1ad016f6c242c8 (diff)
downloadmongo-c1417a2d8078ccee93399216a6199eed491e6c31.tar.gz
The config string for a multiprocess system is "multiprocess", not "share".
Diffstat (limited to 'examples')
-rw-r--r--examples/c/ex_process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/c/ex_process.c b/examples/c/ex_process.c
index 9d8ebd631b2..e9b86d13bd4 100644
--- a/examples/c/ex_process.c
+++ b/examples/c/ex_process.c
@@ -23,7 +23,8 @@ int main(void)
WT_SESSION *session;
/* Open a connection to the database, creating it if necessary. */
- if ((ret = wiredtiger_open(home, NULL, "create,share", &conn)) != 0)
+ if ((ret =
+ wiredtiger_open(home, NULL, "create,multiprocess", &conn)) != 0)
fprintf(stderr, "Error connecting to %s: %s\n",
home, wiredtiger_strerror(ret));