summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-07-09 16:25:58 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-07-09 16:25:58 +1000
commitb48469701568ca0211110c9d8f7d360cbdde309c (patch)
tree3757d5302190f5d143ed039f8dbaf3ee896d1daa
parent4be7e2a867f4512a61a8692921d89bc55edb77e7 (diff)
downloadmongo-b48469701568ca0211110c9d8f7d360cbdde309c.tar.gz
Fix Flush to construct a valid config string for compact.
-rw-r--r--api/leveldb/rocks_wt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/leveldb/rocks_wt.cc b/api/leveldb/rocks_wt.cc
index a70acbdf1f6..469eed1029d 100644
--- a/api/leveldb/rocks_wt.cc
+++ b/api/leveldb/rocks_wt.cc
@@ -236,7 +236,7 @@ DbImpl::Flush(FlushOptions const&, ColumnFamilyHandle* cfhp)
ColumnFamilyHandleImpl *cf =
static_cast<ColumnFamilyHandleImpl *>(cfhp);
WT_SESSION *session = GetContext()->GetSession();
- return WiredTigerErrorToStatus(session->checkpoint(session, ("targets=(" + cf->GetURI() + ")").c_str()));
+ return WiredTigerErrorToStatus(session->checkpoint(session, ("target=(\"" + cf->GetURI() + "\")").c_str()));
}
Status