Skip to content

fix: MySQL NULL panic — safe Value extraction#19

Merged
fdciabdul merged 1 commit intomainfrom
dev
Apr 4, 2026
Merged

fix: MySQL NULL panic — safe Value extraction#19
fdciabdul merged 1 commit intomainfrom
dev

Conversation

@fdciabdul
Copy link
Copy Markdown
Owner

mysql_async panics on NULL via FromValue trait. Replaced with direct Value enum matching.

…xtraction

mysql_async's row.get() panics on NULL values because FromValue trait
conversion fails before Option wrapping. Replaced with direct Value
enum matching that safely handles NULL for all column types.
@fdciabdul fdciabdul merged commit b92ecf3 into main Apr 4, 2026
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.

1 participant