Skip to content

Commit

Permalink
fix: cstore + ttl + separate乱码问题
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-2023 committed Dec 2, 2024
1 parent 1430a7d commit 24c2c1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine/transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,9 @@ int Transaction::put_primary_columns(const TableKey& primary_key, SmartRecord re
return -1;
}
if (_is_separate) {
add_kvop_put(key.data(), value, _write_ttl_timestamp_us, false);
// add_kvop_put(key.data(), value, _write_ttl_timestamp_us, false);
// 列不加ttl
add_kvop_put(key.data(), value, -1, false);
}
}
return 0;
Expand Down

0 comments on commit 24c2c1f

Please sign in to comment.