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

feat(doctor): report sqlite version #2075

Merged
merged 1 commit into from
Jun 3, 2024
Merged

Conversation

xvello
Copy link
Contributor

@xvello xvello commented Jun 2, 2024

Report the sqlite version to detect unsupported versions possibly brought in by third-party patching.

We could also grab the libsqlite3_sys::SQLITE_VERSION constant, but it requires listing this transitive dependencies in the deps, as sqlx_sqlite does not re-export this constant. Opening a sqlite connection also allows querying the build flags, which we might want to log too.

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

Copy link
Member

@ellie ellie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks goooood, thank you! 🚀

@ellie ellie merged commit 96163c5 into atuinsh:main Jun 3, 2024
14 checks passed
@xvello xvello deleted the xvello/doctor-sqlite branch June 3, 2024 10:41
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