Skip to content

feat(doctor): report sqlite version#2075

Merged
ellie merged 1 commit intoatuinsh:mainfrom
xvello:xvello/doctor-sqlite
Jun 3, 2024
Merged

feat(doctor): report sqlite version#2075
ellie merged 1 commit intoatuinsh:mainfrom
xvello:xvello/doctor-sqlite

Conversation

@xvello
Copy link
Copy Markdown
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
Copy Markdown
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
@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