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

Default to prepare_v2 if prepare_v3 not found #1

Closed
wants to merge 3 commits into from

Conversation

alextekartik
Copy link

So it seems that travis is still stuck on Ubuntu 16.04 causing the library to fail (hence all the sqflite tests - I added an issue here https://travis-ci.community/t/change-ubuntu-distribution-from-16-04/9320 but I'm not sure when/if it will get fixed).

Here I propose to try to load prepare_v3 and load prepare_v2 if not found.

I also added travis tests (see the build history https://travis-ci.org/github/tekartikdev/sqlite3.dart/builds to see that it was failing before - I made 2 attemps to fix the issue). You might want to change the implementation.

Thanks!

simolus3 added a commit that referenced this pull request Jul 14, 2020
@simolus3
Copy link
Owner

Thanks for the PR! Unfortunately the .ffi.dart file is auto-generated, so your changes would be overridden. With the linked commit, we'll just look those functions up outside of that file. I also made the CI run on Ubuntu 16.04.

@simolus3 simolus3 closed this Jul 14, 2020
@alextekartik
Copy link
Author

Ah ok sorry for missing that. I guess I just throw something to see that this was indeed the only remaining issue (as I could not test it locally). Great indeed that you test on ubuntu 16.04. Thanks! Looking forward for a new published version!

@simolus3
Copy link
Owner

Just published version 0.1.4 which should contain this logic.

@alextekartik
Copy link
Author

Hooray! : https://travis-ci.org/github/tekartik/sqflite/builds/708061710

I published sqflite_common_ffi 1.1.0 based on your lib. Thanks again for your work. Bravo!

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