提交 2bd71a69 编写于 作者: G Ganlin Zhao

[TD-14473]<fix>: Histogram function core when param is not JSON

上级 07c4496f
......@@ -3589,7 +3589,7 @@ int32_t addExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, int32_t col
}
pVariant = &pParamElem[2].pNode->value;
if (pVariant == NULL && pVariant->nType != TSDB_DATA_TYPE_BINARY) {
if (pVariant == NULL || pVariant->nType != TSDB_DATA_TYPE_BINARY) {
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg2);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册