fix error msg

This commit is contained in:
Ganlin Zhao 2022-08-19 18:16:46 +08:00
parent 0993843c81
commit 02055c4a90
1 changed files with 1 additions and 1 deletions

View File

@ -2828,7 +2828,7 @@ static int32_t checkEvery(STranslateContext* pCxt, SValueNode* pInterval) {
char *unit = &pInterval->literal[len - 1];
if (*unit == 'n' || *unit == 'y') {
return generateSyntaxErrMsgExt(&pCxt->msgBuf, TSDB_CODE_PAR_WRONG_VALUE_TYPE,
"Unsupported time unit in Every clause");
"Unsupported time unit in EVERY clause");
}
return TSDB_CODE_SUCCESS;