Merge pull request #23547 from taosdata/fix/3.0/TD-27013

fix: cast error msg
This commit is contained in:
dapan1121 2023-11-07 13:35:41 +08:00 committed by GitHub
commit 3d1afe7adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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