From 2b44d3e273d4532e2a2762333c917fe77e79c14e Mon Sep 17 00:00:00 2001 From: "yuzhong.chen" Date: Mon, 2 Dec 2024 10:00:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20cstore=20+=20ttl=20+=20separate=E4=B9=B1?= =?UTF-8?q?=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/engine/transaction.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/transaction.cpp b/src/engine/transaction.cpp index 2582d4f9..632dfe5b 100644 --- a/src/engine/transaction.cpp +++ b/src/engine/transaction.cpp @@ -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;