Skip to content

breaking: add initTokenizer() API method #3

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

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

indutny-signal
Copy link
Contributor

Since sqlcipher v4.7.0, queries cannot run on an encrypted database before the decryption key is provided. FTS5 tokenizer initialization requires SELECT query to get the pointer to sqlite's internal APIs, so we have to move it into a separate method that the embedder would have to call.

Since sqlcipher v4.7.0, queries cannot run on an encrypted database
before the decryption key is provided. FTS5 tokenizer initialization
requires `SELECT` query to get the pointer to sqlite's internal APIs, so
we have to move it into a separate method that the embedder would have
to call.
@indutny-signal indutny-signal merged commit 76b0627 into main Apr 3, 2025
4 checks passed
@indutny-signal indutny-signal deleted the fix/split-initialization-logic branch April 3, 2025 19:32
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