diff options
author | Michael Cahill <mjc@wiredtiger.com> | 2014-12-17 09:13:30 +1100 |
---|---|---|
committer | Michael Cahill <mjc@wiredtiger.com> | 2014-12-17 09:13:30 +1100 |
commit | b2e66a029b3e402611c77a4d40faebb48a838df0 (patch) | |
tree | 17b92882f77a6516639c6dc1bd45156a7d13b1de | |
parent | b5be8cf10826c12b6f0ed65b1d425163d84c50c5 (diff) | |
download | mongo-b2e66a029b3e402611c77a4d40faebb48a838df0.tar.gz |
Don't support "target=none" as a backup configuration: the empty string means backup everything.
refs #1417
-rw-r--r-- | src/cursor/cur_backup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cursor/cur_backup.c b/src/cursor/cur_backup.c index 5fa3734a690..2ff6e614ae1 100644 --- a/src/cursor/cur_backup.c +++ b/src/cursor/cur_backup.c @@ -412,7 +412,7 @@ __backup_uri(WT_SESSION_IMPL *session, * If we find a non-empty target configuration string, we have a job, * otherwise it's not our problem. */ - WT_RET(__wt_config_gets_none(session, cfg, "target", &cval)); + WT_RET(__wt_config_gets(session, cfg, "target", &cval)); WT_RET(__wt_config_subinit(session, &targetconf, &cval)); for (cb->list_next = 0, target_list = 0; (ret = __wt_config_next(&targetconf, &k, &v)) == 0; ++target_list) { |