Skip to content

Conversation

@fulghum
Copy link
Contributor

@fulghum fulghum commented Dec 4, 2025

A customer reported a strange behavior where check constraints were getting corrupted/duplicated. The root cause was a bug in the CheckConstraint.Copy() implementation that wasn't returning a copy of the underlying checks, and allowed another part of engine to modify the check constraints accidentally.

Copy link
Contributor

@elianddb elianddb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, one comment on the test.

@coffeegoddd
Copy link
Contributor

@fulghum DOLT

comparing_percentages
100.000000 to 100.000000
version result total
408f179 ok 5937471
version total_tests
408f179 5937471
correctness_percentage
100.0

@dolthub dolthub deleted a comment from coffeegoddd Dec 4, 2025
@fulghum fulghum merged commit 93bd085 into main Dec 4, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants