forked frommicropython/micropython-lib
- Notifications
You must be signed in to change notification settings - Fork0
Commit0a65c3d
unix-ffi/sqlite3: Fix statements not being finalized.
Currently, statements are only finalized upon a call to Cursor.close().However, in Cursor.execute() new statements get created without theprevious statements being finalized, causing those to get leaked,preventing the database from being closed. The fix addresses this byfinalizing the previous statement if it exists.Signed-off-by: Robert Klink <rhermanklink@ripe.net>1 parent8d6ebf5 commit0a65c3d
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
| |||
0 commit comments
Comments
(0)