Skip to content

Commit

Permalink
🐛 fix image bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartKeyerror committed Aug 21, 2021
1 parent 8e0dc56 commit d05d3c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/leveldb/status.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class LEVELDB_EXPORT Status {
static Status OK() { return Status(); }

// Return error status of an appropriate type.
// 等会儿,为什么需要有个 msg2 ? 而且其默认值还是一个空的 Slice,猜测可能是一个预留的扩展位
// msg2 通常用于存储系统调用所返回的错误码,也就是 errno
static Status NotFound(const Slice& msg, const Slice& msg2 = Slice()) {
return Status(kNotFound, msg, msg2);
}
Expand Down
Binary file modified leveldb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d05d3c6

Please sign in to comment.