Use palloc() instead of palloc0() in buildGpQueryString() (#10875)
The buildGpQueryString() function should use palloc() instead of palloc0() to allocate the buffer for holding the serialized query string, thus avoiding the unnecessary cost of setting all bytes in buffer to zero. Reviewed-by: NHeikki Linnakangas <hlinnaka@iki.fi> Reviewed-by: NAshwin Agrawal <aashwin@vmware.com>
Showing
想要评论请 注册 或 登录