aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/dbformat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/db/dbformat.cc')
-rw-r--r--src/leveldb/db/dbformat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leveldb/db/dbformat.cc b/src/leveldb/db/dbformat.cc
index 28e11b398d..20a7ca4462 100644
--- a/src/leveldb/db/dbformat.cc
+++ b/src/leveldb/db/dbformat.cc
@@ -26,7 +26,7 @@ std::string ParsedInternalKey::DebugString() const {
(unsigned long long) sequence,
int(type));
std::string result = "'";
- result += user_key.ToString();
+ result += EscapeString(user_key.ToString());
result += buf;
return result;
}