colocation_utils.c: PVS-Studio: underflow of the buffer 'values'

pull/1335/head
Svyatoslav 2017-04-18 15:44:01 +03:00
parent ecddb78815
commit fc135e8561
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ UpdateRelationColocationGroup(Oid distributedRelationId, uint32 colocationId)
distributedRelationName)));
}
memset(values, 0, sizeof(replace));
memset(values, 0, sizeof(values));
memset(isNull, false, sizeof(isNull));
memset(replace, false, sizeof(replace));