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

Enable extension loading #49

Closed
wants to merge 2 commits into from
Closed

Conversation

mugikhan
Copy link
Contributor

@mugikhan mugikhan commented Sep 26, 2024

Description

This change is required for loading extensions when using the library simultaneously with other SQLite libraries such as op-sqlite. When using this library simultaneously with other SQLite libraries it results in unpredictable behaviour. This is a workaround that enables extension loading in projects where other SQLite libraries are used that require extension loading.
This does not explicitly enable extension loading for this library but rather tries to assist with compatibility in the above scenarios.
This change is required for the work done in this PR.

Note: This change is not strictly required only for op-sqlite but makes the migration from RNQS to OPSQLite more convenient in the PowerSync JS SDK.

Work done

  • Enable extension loading for all DB connections

@mugikhan mugikhan changed the title Enable extension loading for opened DBs Enable extension loading Sep 26, 2024
@mugikhan mugikhan closed this Oct 1, 2024
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.

1 participant