Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix: record last_insert_id when 0 is specified for the auto_increment column value #2822

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

fulghum
Copy link
Contributor

@fulghum fulghum commented Jan 17, 2025

@fulghum fulghum requested a review from jycor January 17, 2025 23:26
Copy link
Contributor

@jycor jycor left a comment

Choose a reason for hiding this comment

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

LGTM, nice catch

@fulghum fulghum merged commit d5bf206 into main Jan 17, 2025
9 checks passed
@fulghum fulghum deleted the fulghum/dolt-8769 branch January 17, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

last_insert_id gives 0 when 0 is explicitly specified for an auto_increment primary key in an insertion
2 participants