diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/schema/schema_create.c')
-rw-r--r-- | src/third_party/wiredtiger/src/schema/schema_create.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/src/schema/schema_create.c b/src/third_party/wiredtiger/src/schema/schema_create.c index a2348adb95f..7a1cf757093 100644 --- a/src/third_party/wiredtiger/src/schema/schema_create.c +++ b/src/third_party/wiredtiger/src/schema/schema_create.c @@ -367,8 +367,8 @@ __create_index(WT_SESSION_IMPL *session, ",source=\"%s\"", source)); } - if (__wt_config_getones(session, config, "extractor", &cval) == 0 && - cval.len != 0) { + if (__wt_config_getones_none( + session, config, "extractor", &cval) == 0 && cval.len != 0) { have_extractor = 1; /* Custom extractors must supply a key format. */ if ((ret = __wt_config_getones( @@ -586,8 +586,8 @@ __create_data_source(WT_SESSION_IMPL *session, /* * User-specified collators aren't supported for data-source objects. */ - if (__wt_config_getones( - session, config, "collator", &cval) != WT_NOTFOUND) + if (__wt_config_getones_none( + session, config, "collator", &cval) != WT_NOTFOUND && cval.len != 0) WT_RET_MSG(session, EINVAL, "WT_DATA_SOURCE objects do not support WT_COLLATOR " "ordering"); |