10000 What is the purpose of the bundled SQLite? · Issue #3326 · tdlib/td · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

What is the purpose of the bundled SQLite? #3326

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

Closed
yurivict opened this issue May 9, 2025 · 2 comments
Closed

What is the purpose of the bundled SQLite? #3326

yurivict opened this issue May 9, 2025 · 2 comments

Comments

@yurivict
Copy link
yurivict commented May 9, 2025

Can it be removed and replaced with an external dependency?

@levlam
Copy link
Contributor
levlam commented May 9, 2025

First of all, TDLib uses SQLCipher and not SQLite.

If you can install the exact same version of SQLCipher that is bundled by TDLib and patch TDLib to use it, then most of the code is likely to compile and work. A few bugs were patched in the bundled version, but they affect only performance, compiler compatibility and portability, and non-critical functions.
If the SQLCipher will be of a different version, then the code is likely to fail to build. Even if build succeeds, then something may silently fail to work because of backward incompatible changes in SQLCipher.

@yurivict
Copy link
Author
yurivict commented May 9, 2025

Thanks for the explanation!

@yurivict yurivict closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2025
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

No branches or pull requests

2 participants
0