summaryrefslogtreecommitdiff
path: root/src/cursor/cur_dump.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-04-09 20:17:58 -0400
committerKeith Bostic <keith@wiredtiger.com>2013-04-09 20:17:58 -0400
commit89b23edbdcdb3b28632ec78f12fe74a4040c7931 (patch)
treedef416c113c643e57e655b0a0bdcf29ff41e0b50 /src/cursor/cur_dump.c
parente7362450cb2b8af22c65a9215cff212ddd9cde01 (diff)
downloadmongo-89b23edbdcdb3b28632ec78f12fe74a4040c7931.tar.gz
Support new configuration options added by the applications, using a new
method, WT_CONNECTION::configure_method. For some reason I can'quite figure out, this set of changes made lint run a bunch better on some sources, and showed up a few different uninitialized variables in error paths. Got me why, but they're real, and I fixed them.
Diffstat (limited to 'src/cursor/cur_dump.c')
-rw-r--r--src/cursor/cur_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cursor/cur_dump.c b/src/cursor/cur_dump.c
index 05a11811950..d11746cf9d7 100644
--- a/src/cursor/cur_dump.c
+++ b/src/cursor/cur_dump.c
@@ -327,7 +327,7 @@ __wt_curdump_create(WT_CURSOR *child, WT_CURSOR *owner, WT_CURSOR **cursorp)
/* __wt_cursor_init is last so we don't have to clean up on error. */
STATIC_ASSERT(offsetof(WT_CURSOR_DUMP, iface) == 0);
- cfg[0] = WT_CONFIG_VALUE(session, session_open_cursor);
+ cfg[0] = WT_CONFIG_NAME(session, session_open_cursor);
cfg[1] = NULL;
WT_RET(__wt_cursor_init(cursor, NULL, owner, cfg, cursorp));