sqlx/tests
Alexander Krotov 78656eb469 fix(sqlite): reset the statement when fetch_many() stream is dropped
Unlike `Executor.fetch_optional()`, `Executor.fetch_many()` does not
have a single exit.  The stream can be dropped at any time.  To catch
this event, we create a `StatementResetter` structure inside the stream
loop and reset the statement when it is dropped.

A test case `it_resets_prepared_statement_after_fetch_many` is
similar to `it_resets_prepared_statement_after_fetch_one` which tests
`Executor.fetch_optional()`.
2021-04-09 00:23:17 -07:00
..
any fix(pool): always ping connection on release to see if it's still viable 2021-02-27 00:56:08 -08:00
certs update todo examples to 0.4 and use migrations 2020-07-18 05:43:16 -07:00
keys update todo examples to 0.4 and use migrations 2020-07-18 05:43:16 -07:00
migrate Edit migrator to make it possible to create static instances 2020-07-23 17:54:05 -04:00
mssql Remove the Done trait 2021-01-12 14:37:44 +01:00
mysql feat(macros): implement query_scalar!() and variants 2021-01-20 22:23:04 -08:00
postgres Merge remote-tracking branch 'demurgos/domain-type-description' 2021-04-08 23:59:25 -07:00
sqlite fix(sqlite): reset the statement when fetch_many() stream is dropped 2021-04-09 00:23:17 -07:00
ui Update some postgres trybuild tests 2021-01-12 03:39:10 -08:00
.dockerignore feat(mssql): fix a few bugs and implement Connection::describe 2020-06-07 02:00:31 -07:00
.env feat: introduce docker-compose based testing for running locally against many database combinations 2020-05-30 17:51:55 -07:00
.gitignore update todo examples to 0.4 and use migrations 2020-07-18 05:43:16 -07:00
docker-compose.yml update todo examples to 0.4 and use migrations 2020-07-18 05:43:16 -07:00
docker.py feat(mysql): support configuring the active charset and collation (via an automatic SET NAMES) 2020-07-20 23:07:22 -07:00
ui-tests.rs feat: introduce docker-compose based testing for running locally against many database combinations 2020-05-30 17:51:55 -07:00
x.py fix(tests): update x.py with new runtime-* features 2020-12-18 21:33:51 -08:00