提交 f10ef79e 编写于 作者: H Haojun Liao

[td-255] fix a typo.

上级 267e6e0b
......@@ -2085,6 +2085,7 @@ int32_t tscAllocPayloadFast(SSqlCmd *pCmd, size_t size) {
assert(pCmd->allocSize == 0);
pCmd->payload = malloc(size);
pCmd->allocSize = size;
} else if (pCmd->allocSize < size) {
char* tmp = realloc(pCmd->payload, size);
if (tmp == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册