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

Method ParseFromString

phxbinlogsvr/core/storage/event_uuid_handler.cpp:240–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240int EventUUIDHandler::ParseFromString(const string &buffer) {
241 if (buffer.empty()) {
242 return OK;
243 }
244
245 EventDataInfoList list;
246 if (!list.ParseFromString(buffer)) {
247 ColorLogError("%s from buffer fail", __func__);
248 return BUFFER_FAIL;
249 }
250 return ParseFromEventInfoList(list);
251}
252
253}

Callers 15

SendBinLogMethod · 0.80
SetExportIPMethod · 0.80
HeartBeatMethod · 0.80
AddMemberMethod · 0.80
RemoveMemberMethod · 0.80
SetMySqlAdminInfoMethod · 0.80
SetMySqlReplicaInfoMethod · 0.80
GetMemberListMethod · 0.80
DecodeMasterInfoMethod · 0.80
SMExecuteMethod · 0.80
SMExecuteMethod · 0.80
GetNewestCheckPointMethod · 0.80

Calls 1

ColorLogErrorFunction · 0.85

Tested by

no test coverage detected