提交 6d8c06ef 编写于 作者: G Ganlin Zhao

fix(query): fix timezone function with trailing characters

上级 5c9e8159
......@@ -1232,6 +1232,7 @@ int32_t timezoneFunction(SScalarParam *pInput, int32_t inputNum, SScalarParam *p
if (inputNum != 1) {
return TSDB_CODE_FAILED;
}
pOutput->columnData->info.bytes = pInput->columnData->info.bytes;
colDataAppend(pOutput->columnData, pOutput->numOfRows, (char *)colDataGetData(pInput->columnData, 0), false);
return TSDB_CODE_SUCCESS;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册