提交 aaaf87c3 编写于 作者: G Ganlin Zhao

[TD-11222]<feature>: Histogram function

上级 d528eeae
......@@ -3416,14 +3416,14 @@ int32_t addExprAndResultField(SSqlCmd* pCmd, SQueryInfo* pQueryInfo, int32_t col
cJSON *count = cJSON_GetObjectItem(binDesc, "count");
cJSON *infinity = cJSON_GetObjectItem(binDesc, "infinity");
if (isinf(start->valuedouble) || isinf(width->valuedouble)) {
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg23);
}
if (!cJSON_IsNumber(start) || !cJSON_IsNumber(count) || !cJSON_IsBool(infinity)) {
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg22);
}
if (isinf(start->valuedouble) || isinf(width->valuedouble)) {
return invalidOperationMsg(tscGetErrorMsgPayload(pCmd), msg23);
}
counter = count->valueint;
if (infinity->valueint == false) {
startIndex = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册