summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-12-16 18:21:08 -0500
committerKeith Bostic <keith@wiredtiger.com>2014-12-16 18:21:08 -0500
commitc58e5479171fdfbb6de7a4246827bed473619c4f (patch)
treed93fa8b136948fe06cdea85c72bd10183bfc5710
parent230e45b1d26ce747cb5cdb79ac69491cde24e550 (diff)
downloadmongo-c58e5479171fdfbb6de7a4246827bed473619c4f.tar.gz
Support extractors configured as "none".
-rw-r--r--src/schema/schema_create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/schema/schema_create.c b/src/schema/schema_create.c
index 612d96603aa..bf27157650c 100644
--- a/src/schema/schema_create.c
+++ b/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(