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

fix(client): Use execute Capacitor driver API to fix parsing issue #1052

Merged
merged 3 commits into from
Mar 13, 2024

Conversation

msfstef
Copy link
Contributor

@msfstef msfstef commented Mar 13, 2024

Using the execute API rather than the run one for when no bind values are provided as it has less pre-processing and solves a parsing issue that run has for statements like BEGIN and ROLLBACK.

Not strictly necessary but provides an immediate solution to a bug that is blocking the use of this driver on Android without requiring changes from the driver side.

See this issue: capacitor-community/sqlite#526

Copy link
Contributor

@samwillis samwillis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 good catch!

@msfstef msfstef merged commit 95dbb6b into main Mar 13, 2024
7 checks passed
@msfstef msfstef deleted the msfstef/fix-capacitor-adapter-statements branch March 13, 2024 16:06
msfstef added a commit that referenced this pull request Mar 14, 2024
…1052)

Using the `execute` API rather than the `run` one for when no bind
values are provided as it has less pre-processing and solves a parsing
issue that `run` has for statements like `BEGIN` and `ROLLBACK`.

Not strictly necessary but provides an immediate solution to a bug that
is blocking the use of this driver on Android without requiring changes
from the driver side.

See this issue: capacitor-community/sqlite#526
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