mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 04:53:44 +02:00
one more spot
This commit is contained in:
parent
9b92ad7772
commit
d0aacfddb7
1 changed files with 13 additions and 11 deletions
|
@ -485,6 +485,7 @@ void PostgreSQL::initializeMembers(PGconn *conn)
|
|||
deletes.insert(key);
|
||||
}
|
||||
|
||||
if (!deletes.empty()) {
|
||||
if (_rc->clusterMode) {
|
||||
auto tx = _cluster->transaction(_myAddressStr, true);
|
||||
for (std::string k : deletes) {
|
||||
|
@ -499,6 +500,7 @@ void PostgreSQL::initializeMembers(PGconn *conn)
|
|||
tx.exec();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const char *params[1] = {
|
||||
_myAddressStr.c_str()
|
||||
|
|
Loading…
Add table
Reference in a new issue