summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-03-20 10:49:41 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-03-20 10:49:41 -0400
commite9bd34719860356f9bcac88a9d8ca6848aeb7855 (patch)
tree149e215ce95ec57dc74042ef5b957a1fcb66697b /src/config
parent94d3e1ff61eeff4801a64cc6f753eeb7a8eb9650 (diff)
downloadmongo-e9bd34719860356f9bcac88a9d8ca6848aeb7855.tar.gz
Add tests for illegal block compressors.
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_def.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/config/config_def.c b/src/config/config_def.c
index 65955240847..83d9401fd5c 100644
--- a/src/config/config_def.c
+++ b/src/config/config_def.c
@@ -142,7 +142,9 @@ static const WT_CONFIG_CHECK confchk_file_meta[] = {
{ "block_allocation", "string",
NULL, "choices=[\"first\",\"best\"]",
NULL },
- { "block_compressor", "string", NULL, NULL, NULL },
+ { "block_compressor", "string",
+ __wt_compressor_confchk, NULL,
+ NULL },
{ "cache_resident", "boolean", NULL, NULL, NULL },
{ "checkpoint", "string", NULL, NULL, NULL },
{ "checkpoint_lsn", "string", NULL, NULL, NULL },
@@ -242,7 +244,9 @@ static const WT_CONFIG_CHECK confchk_session_create[] = {
{ "block_allocation", "string",
NULL, "choices=[\"first\",\"best\"]",
NULL },
- { "block_compressor", "string", NULL, NULL, NULL },
+ { "block_compressor", "string",
+ __wt_compressor_confchk, NULL,
+ NULL },
{ "cache_resident", "boolean", NULL, NULL, NULL },
{ "checksum", "string",
NULL, "choices=[\"on\",\"off\",\"uncompressed\"]",