-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 force try in the FailableIterator.next()
and Connection.prepare()
methods
#1273
base: master
Are you sure you want to change the base?
Fix force try in the FailableIterator.next()
and Connection.prepare()
methods
#1273
Conversation
anyone please merge this request? |
Why don't you just use |
I don't understand the question. The |
If you read through the comments for why: Note that the documentation was never updated to tell users that "If you use this method that we included in the library and use in the example README, then it can cause your production to app crash". Seems to me that there are two solutions to this:
I chose Option 2. It's up to those who still use this fork of the repo to decide if they want to accept the fix - I would certainly suggest that if the community would like to keep people from forking off and maintaining their own forks, then "just use a different method that is not in the documented README" is not a solution. FWIW, anyone who wants this fix is welcome to use my client's fork: https://github.com/BiAffectBridge/SQLite.swift |
any update? |
Any update? |
The force try is crashing and ideally, the prepare() query should throw the error rather than crashing the app. Thanks!
Thanks for taking the time to submit a pull request.
Before submitting, please do the following:
make lint
to check if there are any format errors (install swiftlint first)swift test
to see if the tests pass.