diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-03-20 10:20:35 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-03-20 10:20:35 -0400 |
commit | 9883fb3533fcea5c436cb473fa0643cdac1591ec (patch) | |
tree | e2ba76e1cd0deabd2280825cdc09af9469a01897 /src/include | |
parent | c31c137853be95ac1a34a8e83c4ee399140a40e9 (diff) | |
download | mongo-9883fb3533fcea5c436cb473fa0643cdac1591ec.tar.gz |
Add configuration-time checks for invalid collators.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/extern.h | 1 |
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); |