diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-01-17 05:15:04 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-01-17 05:15:04 +1100 |
commit | 1b033e5b2b4caba973f24a85c3591eb45e991538 (patch) | |
tree | 5f67f7dfc5f81b1df997b43492dba89e21fb2544 /src/config | |
parent | eb1511f3f1fb3be31cce7c4b288608997dd77c3e (diff) | |
download | mongo-1b033e5b2b4caba973f24a85c3591eb45e991538.tar.gz |
Don't allow "readonly" to be reconfigured on cursors.
refs #1467
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/config_def.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config/config_def.c b/src/config/config_def.c index bf806ea6101..ec44e8839b0 100644 --- a/src/config/config_def.c +++ b/src/config/config_def.c @@ -113,7 +113,6 @@ static const WT_CONFIG_CHECK confchk_connection_reconfigure[] = { static const WT_CONFIG_CHECK confchk_cursor_reconfigure[] = { { "append", "boolean", NULL, NULL }, { "overwrite", "boolean", NULL, NULL }, - { "readonly", "boolean", NULL, NULL }, { NULL, NULL, NULL, NULL } }; @@ -569,7 +568,7 @@ static const WT_CONFIG_ENTRY config_entries[] = { NULL }, { "cursor.reconfigure", - "append=0,overwrite=,readonly=0", + "append=0,overwrite=", confchk_cursor_reconfigure }, { "file.meta", |