From e9b627fd56d590e53d6ecb126023e6010606a8e5 Mon Sep 17 00:00:00 2001 From: lorinlee Date: Mon, 21 Jun 2021 13:40:12 -0700 Subject: [PATCH] Fix comments in Status (#8429) Summary: Signed-off-by: lorinlee Pull Request resolved: https://github.com/facebook/rocksdb/pull/8429 Reviewed By: zhichao-cao Differential Revision: D29256538 Pulled By: ajkr fbshipit-source-id: fa483861148d82119f4c8775d0cf5f6c71b06215 --- include/rocksdb/status.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/rocksdb/status.h b/include/rocksdb/status.h index 1de2ebcb0..a60212b89 100644 --- a/include/rocksdb/status.h +++ b/include/rocksdb/status.h @@ -452,10 +452,8 @@ class Status { protected: // A nullptr state_ (which is always the case for OK) means the message - // is empty. - // of the following form: - // state_[0..3] == length of message - // state_[4..] == message + // is empty, else state_ points to message. + Code code_; SubCode subcode_; Severity sev_;