null if options_.paranoid_checks==false
| 387 | const char* fname; |
| 388 | Status* status; // null if options_.paranoid_checks==false |
| 389 | void Corruption(size_t bytes, const Status& s) override { |
| 390 | Log(info_log, "%s%s: dropping %d bytes; %s", |
| 391 | (this->status == nullptr ? "(ignoring error) " : ""), fname, |
| 392 | static_cast<int>(bytes), s.ToString().c_str()); |
| 393 | if (this->status != nullptr && this->status->ok()) *this->status = s; |
| 394 | } |
| 395 | }; |
| 396 | |
| 397 | mutex_.AssertHeld(); |
no test coverage detected