mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 10:46:33 +00:00
member ip inserts DO NOTHING on conflict
This commit is contained in:
parent
f6026f94a5
commit
0d42108254
@ -989,7 +989,7 @@ void PostgreSQL::commitThread()
|
||||
};
|
||||
|
||||
res = PQexecParams(conn,
|
||||
"INSERT INTO ztc_member_ip_assignment (member_id, network_id, address) VALUES ($1, $2, $3)",
|
||||
"INSERT INTO ztc_member_ip_assignment (member_id, network_id, address) VALUES ($1, $2, $3) ON CONFLICT (network_id, member_id, address) DO NOTHING",
|
||||
3,
|
||||
NULL,
|
||||
v3,
|
||||
|
Loading…
Reference in New Issue
Block a user