You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ba4e195
Browse filesBrowse the repository at this point in the historyBrowse files
sqlite: address review feedback on reset error handling
- StatementSyncIterator::Return() no longer throws on a deferred
reset error, matching the OnScopeLeave guards used elsewhere: it
is invoked during abrupt iterator completion (e.g. a throw inside
a for...of body), and throwing there would discard the caller's
already-pending exception.
- Add a short comment on the accepted SQLITE_ROW result in Run().
- Add tests covering get()/all() surfacing a deferred SQLite error
from reset() after already building a row/array, the iterator not
replaying results after natural exhaustion, and Return() not
discarding a pending exception on a deferred reset error.
Signed-off-by: semimikoh <ejffjeosms@gmail.com>
0 commit comments