summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-03-20 10:20:35 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-03-20 10:20:35 -0400
commit9883fb3533fcea5c436cb473fa0643cdac1591ec (patch)
treee2ba76e1cd0deabd2280825cdc09af9469a01897 /src/include
parentc31c137853be95ac1a34a8e83c4ee399140a40e9 (diff)
downloadmongo-9883fb3533fcea5c436cb473fa0643cdac1591ec.tar.gz
Add configuration-time checks for invalid collators.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/extern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/extern.h b/src/include/extern.h
index ec961cf2035..f22a8da0b5c 100644
--- a/src/include/extern.h
+++ b/src/include/extern.h
@@ -202,6 +202,7 @@ extern int __wt_ext_config_parser_open(WT_EXTENSION_API *wt_ext, WT_SESSION *wt_
extern int __wt_ext_config_get(WT_EXTENSION_API *wt_api, WT_SESSION *wt_session, WT_CONFIG_ARG *cfg_arg, const char *key, WT_CONFIG_ITEM *cval);
extern int __wt_config_upgrade(WT_SESSION_IMPL *session, WT_ITEM *buf);
extern const char *__wt_wiredtiger_error(int error);
+extern int __wt_collator_confchk(WT_SESSION_IMPL *session, WT_CONFIG_ITEM *cname);
extern int __wt_collator_config(WT_SESSION_IMPL *session, const char *uri, WT_CONFIG_ITEM *cname, WT_CONFIG_ITEM *metadata, WT_COLLATOR **collatorp, int *ownp);
extern int __wt_conn_remove_collator(WT_SESSION_IMPL *session);
extern int __wt_conn_remove_compressor(WT_SESSION_IMPL *session);