We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad1d7a8 commit f4c7498Copy full SHA for f4c7498
sqlx-sqlite/src/connection/worker.rs
@@ -151,7 +151,8 @@ impl ConnectionWorker {
151
match limit {
152
None => {
153
for res in iter {
154
- if tx.send(res).is_err() {
+ let has_error = res.is_err();
155
+ if tx.send(res).is_err() || has_error {
156
break;
157
}
158
@@ -171,7 +172,8 @@ impl ConnectionWorker {
171
172
173
174
175
176
177
178
179
0 commit comments