Skip to content

Conversation

@Nothing4You
Copy link
Contributor

In #774 automatic warnings were removed.
As far as I can tell there is currently no public API to access cursor._result.warning_count.

This provides a way to check for existence of warnings without having to perform an additional query over the network.

After the removal of automatic warnings in PyMySQL#774 this provides a way to check
for existence of warnings without having to perform an additional query over
the network.
@LostInDarkMath
Copy link

This is exactly what I needed :)

@methane methane added this to the v1.1 milestone May 23, 2023
@methane methane merged commit 01ddf9d into PyMySQL:main May 23, 2023
@Nothing4You Nothing4You deleted the warning-count branch May 23, 2023 12:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants