This commit is contained in:
dmchen 2024-07-22 08:05:53 +00:00
parent f5edf0c679
commit 005b51efeb
1 changed files with 1 additions and 0 deletions

View File

@ -769,6 +769,7 @@ static int32_t mndCheckCreateSmaReq(SMCreateSmaReq *pCreate) {
if (tNameFromString(&smaName, pCreate->name, T_NAME_ACCT | T_NAME_DB | T_NAME_TABLE) < 0) return -1; if (tNameFromString(&smaName, pCreate->name, T_NAME_ACCT | T_NAME_DB | T_NAME_TABLE) < 0) return -1;
if (*(char *)tNameGetTableName(&smaName) == 0) return -1; if (*(char *)tNameGetTableName(&smaName) == 0) return -1;
code = 0;
TAOS_RETURN(code); TAOS_RETURN(code);
} }