Skip to content

Commit

Permalink
fix: stable creation ignore ttl (#680)
Browse files Browse the repository at this point in the history
Co-authored-by: Shungang Li <sgli@taosdata.com>
  • Loading branch information
LiShunGang and LiShunGang committed Jun 25, 2023
1 parent 3924bb1 commit ff6b81a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/benchInsert.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,6 @@ static int createSuperTable(SDataBase* database, SSuperTable* stbInfo) {
" WATERMARK %s", stbInfo->watermark);
}

if (stbInfo->ttl != 0) {
length += snprintf(command + length,
TSDB_MAX_ALLOWED_SQL_LEN - length,
" TTL %d", stbInfo->ttl);
}

bool first_sma = true;
for (int i = 0; i < stbInfo->cols->size; i++) {
Field * col = benchArrayGet(stbInfo->cols, i);
Expand Down

0 comments on commit ff6b81a

Please sign in to comment.