提交 120bac7d 编写于 作者: K Kenan Yao

Remove the NULL check on result of palloc0 in buildSliceIndexGangIdMap.

上级 ed61cf61
......@@ -1428,9 +1428,6 @@ buildSliceIndexGangIdMap(SliceVec *sliceVec, int numSlices, int numTotalSlices)
/* would be freed in buildGpQueryString */
int *sliceIndexGangIdMap = palloc0(numTotalSlices * sizeof(int));
if (sliceIndexGangIdMap == NULL)
return NULL;
Slice *slice = NULL;
int index;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册