Skip to content

Commit

Permalink
core: fix missing update on nested generated column (#55829) (#55852)
Browse files Browse the repository at this point in the history
close #53967
  • Loading branch information
ti-chi-bot authored Sep 5, 2024
1 parent 390215e commit 973b215
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions planner/core/logical_plan_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -5981,6 +5981,9 @@ func (b *PlanBuilder) buildUpdateLists(ctx context.Context, tableList []*ast.Tab
break
}
}
if isModified {
dependentColumnsModified[col.UniqueID] = true
}
// skip unmodified generated columns
if !isModified {
continue
Expand Down

0 comments on commit 973b215

Please sign in to comment.