Merge pull request #23547 from taosdata/fix/3.0/TD-27013
fix: cast error msg
This commit is contained in:
commit
3d1afe7adf
|
@ -1989,7 +1989,7 @@ static int32_t translateCast(SFunctionNode* pFunc, char* pErrBuf, int32_t len) {
|
|||
}
|
||||
if (para2Bytes <= 0 || para2Bytes > 4096) { // cast dst var type length limits to 4096 bytes
|
||||
return buildFuncErrMsg(pErrBuf, len, TSDB_CODE_FUNC_FUNTION_ERROR,
|
||||
"CAST function converted length should be in range [0, 4096] bytes");
|
||||
"CAST function converted length should be in range (0, 4096] bytes");
|
||||
}
|
||||
|
||||
// add database precision as param
|
||||
|
|
Loading…
Reference in New Issue