Skip to content

Fix unused import warning in SQLite-only builds - #576

Open
DanielVitorio wants to merge 2 commits into
laravel:0.xfrom
DanielVitorio:fix-windows-sqlite-warnings
Open

DanielVitorio wants to merge 2 commits into
laravel:0.xfrom
DanielVitorio:fix-windows-sqlite-warnings

Conversation

@DanielVitorio

@DanielVitorio DanielVitorio commented Dec 2, 2026 •

Copy link
Copy Markdown

Summary

This PR fixes an unused import warning when building with SQLite-only configurations.

Changes

  • crates/database/src/db/neutral/row.rs
    • Made the DecimalInternals import conditional.
    • It is now only imported when the PostgreSQL or MySQL features are enabled, avoiding unused import warnings with SQLite-only builds.

Testing

Verified using cargo check with the following configurations:

  • SQLite only
  • PostgreSQL only
  • MySQL only
  • All database features enabled
  • No database features enabled

Also ran rustfmt.

No functional changes are intended. This change only addresses a compiler warning and improves conditional compilation.

@DanielVitorio DanielVitorio changed the title Fix unused warnings on Windows and SQLite-only builds Fix unused import warning in SQLite-only builds Dec 2, 2026
@DanielVitorio

Copy link
Copy Markdown
Author

I removed the signals.rs change since #449 already covers it, so this PR now only fixes the row.rs import.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants