diff --git a/src/client/src/tscSQLParser.c b/src/client/src/tscSQLParser.c index 447de9de93ebffa7103c3913bd9257ac1095a410..db626b05e8e7bdd4c0ce70dde7b268d7a1b366b9 100644 --- a/src/client/src/tscSQLParser.c +++ b/src/client/src/tscSQLParser.c @@ -6031,7 +6031,7 @@ int32_t setAlterTableInfo(SSqlObj* pSql, struct SSqlInfo* pInfo) { } int32_t schemaLen = sizeof(STColumn) * numOfTags; - int32_t size = = sizeof(SUpdateTableTagValMsg) + pTagsSchema->bytes + schemaLen + TSDB_EXTRA_PAYLOAD_SIZE; + int32_t size = sizeof(SUpdateTableTagValMsg) + pTagsSchema->bytes + schemaLen + TSDB_EXTRA_PAYLOAD_SIZE; if (TSDB_CODE_SUCCESS != tscAllocPayload(pCmd, size)) { tscError("0x%"PRIx64" failed to malloc for alter table pMsg", pSql->self);