MCPcopy Create free account
hub / github.com/Tencent/phxsql / FixOffSet

Method FixOffSet

phxbinlogsvr/core/storage/storage.cpp:221–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221void Storage::FixOffSet(size_t offset) {
222 lseek(fd_, offset, SEEK_SET);
223 STATISTICS(StorageReadDataFail());
224}
225
226void Storage::FSync() {
227 if (fd_ >= 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected