0
0
mirror of https://gitlab.com/cznic/sqlite.git synced 2025-04-27 23:07:44 +00:00
Files
Romain LE DISEZ 0a8da4bb8f fix error handling in test "QueryContext with context expiring"
While the query had succeeded, the context can expire right after. In
this situation, iterating the rows will fail. The test need to check for
sql.Rows.Err() too.

Also, don't forget to close sql.Rows when done to avoid memory leak.
2024-02-22 13:31:53 +00:00
..