fix escaped tsma name
This commit is contained in:
parent
de1c28d623
commit
9cc33b1296
|
@ -246,7 +246,8 @@ static bool checkComment(SAstCreateContext* pCxt, const SToken* pCommentToken, b
|
|||
return TSDB_CODE_SUCCESS == pCxt->errCode;
|
||||
}
|
||||
|
||||
static bool checkTsmaName(SAstCreateContext* pCxt, const SToken* pTsmaToken) {
|
||||
static bool checkTsmaName(SAstCreateContext* pCxt, SToken* pTsmaToken) {
|
||||
trimEscape(pTsmaToken);
|
||||
if (NULL == pTsmaToken) {
|
||||
pCxt->errCode = TSDB_CODE_PAR_SYNTAX_ERROR;
|
||||
} else if (pTsmaToken->n >= TSDB_TABLE_NAME_LEN - strlen(TSMA_RES_STB_POSTFIX)) {
|
||||
|
|
|
@ -9,7 +9,7 @@ from util.dnodes import *
|
|||
from util.common import *
|
||||
# from tmqCommon import *
|
||||
|
||||
ROUND = 2000
|
||||
ROUND = 1000
|
||||
|
||||
class TSMA:
|
||||
def __init__(self):
|
||||
|
|
Loading…
Reference in New Issue