diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-09-13 16:02:05 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-09-13 16:02:05 +1000 |
commit | b781de86abada3af71527f53c644ddff8941dc50 (patch) | |
tree | 4447bac373b0d0033668bf979ffbad423e5e3596 /examples | |
parent | 3bb9917005e9418a2ab0ad08702e3b82de431e38 (diff) | |
download | mongo-b781de86abada3af71527f53c644ddff8941dc50.tar.gz |
Pass "exclusive" to LSM create so it returns EEXIST only when expected.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/ex_all.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/c/ex_all.c b/examples/c/ex_all.c index 8d4161ebb0b..09a95d3aaee 100644 --- a/examples/c/ex_all.c +++ b/examples/c/ex_all.c @@ -523,12 +523,13 @@ transaction_ops(WT_CONNECTION *conn, WT_SESSION *session) /*! [WT_DATA_SOURCE create] */ static int my_create(WT_DATA_SOURCE *dsrc, WT_SESSION *session, - const char *name, const char *config) + const char *name, int exclusive, const char *config) { /* Unused parameters */ (void)dsrc; (void)session; (void)name; + (void)exclusive; (void)config; return (0); |