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

Make DB_BASE::insert_id() correctly return numbers exceeding 32bits #4282

Merged
merged 1 commit into from
Mar 27, 2021

Conversation

Rytiss
Copy link
Contributor

@Rytiss Rytiss commented Mar 24, 2021

Fixes #4276

Description of the Change
Changed DB_BASE::insert_id() to return DB_ID_TYPE, which is long, and use atol instead of atoi for number parsing. This fixes the scheduler assigned-work feature.

@davidpanderson davidpanderson merged commit 7b7638f into master Mar 27, 2021
@AenBleidd AenBleidd added this to the Server milestone Mar 27, 2021
@AenBleidd AenBleidd deleted the rytiss-db-insertid-long branch August 15, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

MySQL ID exhaustion
3 participants