aboutsummaryrefslogtreecommitdiff
path: root/db/dbformat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'db/dbformat.cc')
-rw-r--r--db/dbformat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/dbformat.cc b/db/dbformat.cc
index 28e11b398d..20a7ca4462 100644
--- a/db/dbformat.cc
+++ b/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;
}