mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-16 06:08:15 +00:00
one more spot
This commit is contained in:
@ -485,6 +485,7 @@ void PostgreSQL::initializeMembers(PGconn *conn)
|
|||||||
deletes.insert(key);
|
deletes.insert(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!deletes.empty()) {
|
||||||
if (_rc->clusterMode) {
|
if (_rc->clusterMode) {
|
||||||
auto tx = _cluster->transaction(_myAddressStr, true);
|
auto tx = _cluster->transaction(_myAddressStr, true);
|
||||||
for (std::string k : deletes) {
|
for (std::string k : deletes) {
|
||||||
@ -499,6 +500,7 @@ void PostgreSQL::initializeMembers(PGconn *conn)
|
|||||||
tx.exec();
|
tx.exec();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const char *params[1] = {
|
const char *params[1] = {
|
||||||
_myAddressStr.c_str()
|
_myAddressStr.c_str()
|
||||||
|
Reference in New Issue
Block a user