Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There is a crash observed in prepare, changed the code to use statement.failableNext and modified AnyIterator appropriately
Crash Log
0 libswiftCore.dylib 0x10c23a1a4 specialized assertionFailure(::file:line🎏) + 42360
1 libswiftCore.dylib 0x10c28fc48 swift_unexpectedError + 280
2 SQLite 0x10b1f0b5c $S6SQLite10ConnectionC7prepareys11AnySequenceVyAA3RowVGAA9QueryType_pKFs0D8IteratorVyAHGycfU_AHSgycfU + 204
3 SQLite 0x10b1fbcd0 $S6SQLite3RowVSgIego_ADIegr_TRTA + 24
4 libswiftCore.dylib 0x10c21e320 _ClosureBasedIterator.next() + 93472
5 libswiftCore.dylib 0x10c21e4ac _IteratorBox.next() + 93868
6 libswiftCore.dylib 0x10c0e0050 AnyIterator.next() + 237412
7 libswiftCore.dylib 0x10c21e4ac _IteratorBox.next() + 93868