mirror of https://github.com/facebook/rocksdb.git
Fix non-ASCII character (#12972)
Summary: Met the following error while compiling the project. ``` build_tools/check-sources.sh utilities/fault_injection_fs.cc:509: // If there<E2><80><99>s no injected error, then cb will be called asynchronously when utilities/fault_injection_fs.cc:510: // target_ actually finishes the read. But if there<E2><80><99>s an injected error, it utilities/fault_injection_fs.cc:512: // isn<E2><80><99>t invoked at all. ^^^^ Use only ASCII characters in source files make[1]: *** [Makefile:1291: check-sources] Error 1 make[1]: Leaving directory '/home/janus/Github/symious/rocksdb' make: *** [Makefile:1084: check] Error 2 ``` Pull Request resolved: https://github.com/facebook/rocksdb/pull/12972 Reviewed By: hx235 Differential Revision: D61923865 Pulled By: cbi42 fbshipit-source-id: 63af0a38fea15e09a860895bdd5ed0a57700e447
This commit is contained in:
parent
cd6f802ccb
commit
c989c51ed7
|
@ -506,10 +506,10 @@ IOStatus TestFSRandomAccessFile::ReadAsync(
|
|||
s = target_->ReadAsync(req, opts, cb, cb_arg, io_handle, del_fn, nullptr);
|
||||
// TODO (low priority): fs_->ReadUnsyncedData()
|
||||
} else {
|
||||
// If there’s no injected error, then cb will be called asynchronously when
|
||||
// target_ actually finishes the read. But if there’s an injected error, it
|
||||
// If there's no injected error, then cb will be called asynchronously when
|
||||
// target_ actually finishes the read. But if there's an injected error, it
|
||||
// needs to immediately call cb(res, cb_arg) s since target_->ReadAsync()
|
||||
// isn’t invoked at all.
|
||||
// isn't invoked at all.
|
||||
res.status = res_status;
|
||||
cb(res, cb_arg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue