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

Win32::System::SqlLite is mis-named #824

Closed
MaulingMonkey opened this issue Mar 11, 2022 · 6 comments
Closed

Win32::System::SqlLite is mis-named #824

MaulingMonkey opened this issue Mar 11, 2022 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@MaulingMonkey
Copy link

  • SqlLite, as per the module and feature name, has two Ls
  • The actual library is named SQLite - one L.
  • The APIs are all prefixed with sqlite3_ and SQLITE_ - one L.
  • The headers and dlls are named winsqlite - one L.
@riverar
Copy link
Collaborator

riverar commented Mar 11, 2022

👋 WithinRafael#7014 from Discord; will transfer to win32metadata and get that patched up there.

@riverar riverar transferred this issue from microsoft/windows-rs Mar 11, 2022
@kennykerr
Copy link
Contributor

Here's the official homepage for SQLite where you can see the actual naming: https://sqlite.org/

By the way, I don't think the Windows SDK should include SQLite. It's not a Windows API at all.

@riverar
Copy link
Collaborator

riverar commented Mar 11, 2022

@kennykerr Agree. I can't even find official docs on that API surface, which worries me a bit. It's not clear what's different between winsqlite3 and official sqlite3, the servicing strategy, etc. (The ABI between the two is also different.)

@mikebattista Shall we just cut all these APIs? Thoughts?

@mikebattista
Copy link
Contributor

I'm fine removing these.

@mikebattista mikebattista self-assigned this Mar 14, 2022
@mikebattista mikebattista added the bug Something isn't working label Mar 14, 2022
@riverar
Copy link
Collaborator

riverar commented Mar 14, 2022

@mikebattista Any insight into why the SDK ships the headers? That rationale might support keeping them in metadata? Just thinking out loud.

@kennykerr
Copy link
Contributor

Windows ships a compiled version of SQLite in System32/winsqlite3.dll that certain OS projects depend on. If you want to use this version to reduce your overall binary size, you can link against this version instead of compiling it directly into your own project.

I don't recommend that for non-OS projects, but that's where it comes from. @jonwis may have some guidance here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants