From 1b033e5b2b4caba973f24a85c3591eb45e991538 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Sat, 17 Jan 2015 05:15:04 +1100 Subject: Don't allow "readonly" to be reconfigured on cursors. refs #1467 --- src/config/config_def.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/config') 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", -- cgit v1.2.1