fix: fill tags is passed1

This commit is contained in:
Alex Duan 2024-10-25 17:05:33 +08:00
parent fca6e89dc5
commit dffab4422f
1 changed files with 1 additions and 1 deletions

View File

@ -1828,7 +1828,7 @@ bool matchCreateTable(TAOS* con, SShellCmd* cmd) {
// find only one ')' , can insert tags
char* p1 = strchr(ps, ')');
if (p1) {
if (strchr(p1 + 1, ')') == NULL && strstr(p1 + 1, "tags") == NULL) {
if (strstr(p1 + 1, "tags") == NULL) {
// can insert tags keyword
ret = fillWithType(con, cmd, last, WT_VAR_KEYTAGS);
}