diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-07-09 16:25:58 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-07-09 16:25:58 +1000 |
commit | b48469701568ca0211110c9d8f7d360cbdde309c (patch) | |
tree | 3757d5302190f5d143ed039f8dbaf3ee896d1daa | |
parent | 4be7e2a867f4512a61a8692921d89bc55edb77e7 (diff) | |
download | mongo-b48469701568ca0211110c9d8f7d360cbdde309c.tar.gz |
Fix Flush to construct a valid config string for compact.
-rw-r--r-- | api/leveldb/rocks_wt.cc | 2 |
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 |