Skip to content

Commit

Permalink
fix: global update use row ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-2023 committed Nov 6, 2024
1 parent a74bbb1 commit 06a6369
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/physical_plan/separate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,9 @@ int Separate::separate_update(QueryContext* ctx) {
if (ret < 0) {
return -1;
}
if (ctx->row_ttl_duration > 0) {
_row_ttl_duration = ctx->row_ttl_duration;
}
int64_t main_table_id = update_node->table_id();
bool should_delete = false;
if (!need_separate_plan(ctx, main_table_id)) {
Expand Down

0 comments on commit 06a6369

Please sign in to comment.