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

Use sqlite3_version to determine which prepare function to use #7

Closed
simolus3 opened this issue Sep 1, 2020 · 0 comments
Closed

Use sqlite3_version to determine which prepare function to use #7

simolus3 opened this issue Sep 1, 2020 · 0 comments

Comments

@simolus3
Copy link
Owner

simolus3 commented Sep 1, 2020

Currently we try to lookup sqlite3_prepare_v3 and, if that fails, fallback to sqlite3_prepare_v3. Instead of catching that ArgumentError, we could check the runtime library version to determine which function to use. The functions were added in 3.20.0.

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

1 participant