From 517d3b8b772db8ce1c530e26ba2802d3477a2bda Mon Sep 17 00:00:00 2001 From: jsteemann Date: Tue, 9 Oct 2018 17:05:27 -0700 Subject: [PATCH] fix typo in error message, twice (#4457) Summary: Fixes a typo in error messages returned by Iterator::GetProperty(...) Pull Request resolved: https://github.com/facebook/rocksdb/pull/4457 Differential Revision: D10281965 Pulled By: sagar0 fbshipit-source-id: 1cd3c665f467ef06cdfd9f482692e6f8568f3d22 --- db/db_iter.cc | 2 +- table/iterator.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db_iter.cc b/db/db_iter.cc index 701d0d8fca..a9cfcabe1b 100644 --- a/db/db_iter.cc +++ b/db/db_iter.cc @@ -232,7 +232,7 @@ class DBIter final: public Iterator { *prop = saved_key_.GetUserKey().ToString(); return Status::OK(); } - return Status::InvalidArgument("Undentified property."); + return Status::InvalidArgument("Unidentified property."); } virtual void Next() override; diff --git a/table/iterator.cc b/table/iterator.cc index 97c47fb285..3a1063f6ef 100644 --- a/table/iterator.cc +++ b/table/iterator.cc @@ -103,7 +103,7 @@ Status Iterator::GetProperty(std::string prop_name, std::string* prop) { *prop = "0"; return Status::OK(); } - return Status::InvalidArgument("Undentified property."); + return Status::InvalidArgument("Unidentified property."); } namespace {