Skip to content

dolt_commit respects foreign key checks#10405

Merged
NathanGabrielson merged 2 commits intomainfrom
nathan/doltCommitFKchecks
Feb 3, 2026
Merged

dolt_commit respects foreign key checks#10405
NathanGabrielson merged 2 commits intomainfrom
nathan/doltCommitFKchecks

Conversation

@NathanGabrielson
Copy link
Copy Markdown
Contributor

@NathanGabrielson NathanGabrielson commented Feb 3, 2026

When foreign_key_checks is set to 0, dolt_commit should allow staged working states with foreign key violations.

Fixes issue #5605

@coffeegoddd
Copy link
Copy Markdown
Contributor

@NathanGabrielson DOLT

comparing_percentages
100.000000 to 100.000000
version result total
396bc39 ok 5937471
version total_tests
396bc39 5937471
correctness_percentage
100.0

Copy link
Copy Markdown
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

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

Looks good! Just one very minor suggestion to move to a type-safe cast

@coffeegoddd
Copy link
Copy Markdown
Contributor

@NathanGabrielson DOLT

comparing_percentages
100.000000 to 100.000000
version result total
31a1199 ok 5937471
version total_tests
31a1199 5937471
correctness_percentage
100.0

@NathanGabrielson NathanGabrielson merged commit 9738e32 into main Feb 3, 2026
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.

3 participants