Skip to content

Backport #110393 to 25.8: Make Field copy and destroy iterative to survive deeply nested literals - #111109

Merged
Algunenano merged 2 commits into
25.8from
backport/25.8/110393
Jul 22, 2026
Merged

Algunenano merged 2 commits into
25.8from
backport/25.8/110393

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #110393

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 25.8.29.27

@robot-ch-test-poll4 robot-ch-test-poll4 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Jul 20, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [96880a0]

The backport of #110393 changed the Array/Tuple/Map/Object cases of
Field::destroy to call destroyContainerIteratively(old_which), but kept
the pre-existing 25.8 structure that switched on which and set
which = Types::Null at the end, so old_which was never declared.

Match master: capture old_which = which and reset which = Types::Null
before the switch, then switch on old_which. This also satisfies the
destroyContainerIteratively contract that which is already Null on entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@Algunenano
Algunenano merged commit c3c0c67 into 25.8 Jul 22, 2026
64 of 68 checks passed
@Algunenano
Algunenano deleted the backport/25.8/110393 branch July 22, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants