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

Method GetReadFileInfo

phxbinlogsvr/core/storage/storage_file_manager.cpp:333–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333void StorageFileManager::GetReadFileInfo(EventDataInfo *data_info) {
334 pair < string, size_t > file_info = read_storage_->GetFileInfo();
335
336 data_info->set_file_name(file_info.first);
337 data_info->set_offset(file_info.second);
338}
339
340void StorageFileManager::GetWriteFileInfo(EventDataInfo *data_info) {
341 pair < string, size_t > file_info = write_storage_->GetFileInfo();

Callers 1

CheckGtidInDataMethod · 0.80

Calls 1

GetFileInfoMethod · 0.80

Tested by

no test coverage detected