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

Method SignUpGTID

phxbinlogsvr/core/handler/event_manager.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50int EventManager::SignUpGTID(const vector<string> &gtid_list) {
51 string gtid = "";
52 int ret = GetLastGtid(gtid_list, &gtid);
53 if (ret) {
54 return ret;
55 }
56 return SignUpGTID(gtid);
57}
58
59int EventManager::SignUpGTID(const string &gtid) {
60 return event_storage_->ReSet(gtid);

Callers 1

DealWithGTIDCommandMethod · 0.80

Calls 1

ReSetMethod · 0.80

Tested by

no test coverage detected