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

Fix i32 overflow in Connection::busy_timeout #604

Merged
merged 1 commit into from
Dec 29, 2019

Conversation

arthurprs
Copy link
Contributor

@arthurprs arthurprs commented Dec 28, 2019

Found after I tried using i32::max_value() as the timeout. Another possibility is to pass i32 max on overflow, that might be better in most cases.

@gwenn gwenn merged commit 54163a4 into rusqlite:master Dec 29, 2019
@gwenn
Copy link
Collaborator

gwenn commented Dec 29, 2019

Thanks.

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.

2 participants