summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/examples
diff options
context:
space:
mode:
authorMatt Kangas <matt.kangas@mongodb.com>2014-11-10 08:52:26 -0500
committerMatt Kangas <matt.kangas@mongodb.com>2014-11-10 08:52:26 -0500
commitaed9203f383619406705119cdf62c6f28c33c4e0 (patch)
tree785d1c7a4e7a5304fcbfb1b9af6cbc8ac8621f63 /src/third_party/wiredtiger/examples
parent20ad93b09352b317302f6b713bacaedab757c93b (diff)
downloadmongo-aed9203f383619406705119cdf62c6f28c33c4e0.tar.gz
Import wiredtiger-wiredtiger-2.4.0-285-g0d497d3.tar.gz from wiredtiger branch develop
Diffstat (limited to 'src/third_party/wiredtiger/examples')
-rw-r--r--src/third_party/wiredtiger/examples/c/ex_data_source.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/examples/c/ex_data_source.c b/src/third_party/wiredtiger/examples/c/ex_data_source.c
index cf77dc4b762..83d6c13ee4f 100644
--- a/src/third_party/wiredtiger/examples/c/ex_data_source.c
+++ b/src/third_party/wiredtiger/examples/c/ex_data_source.c
@@ -375,8 +375,8 @@ my_open_cursor(WT_DATA_SOURCE *dsrc, WT_SESSION *session,
/*
* Configure the appropriate collator.
*/
- if ((ret = wt_api->collator_config(
- wt_api, session, config, &collator, &collator_owned)) != 0) {
+ if ((ret = wt_api->collator_config(wt_api, session,
+ "dsrc:", config, &collator, &collator_owned)) != 0) {
(void)wt_api->err_printf(wt_api, session,
"collator configuration: %s", wiredtiger_strerror(ret));
return (ret);