Message308021
The function calls ``sqlite3_open()`` that, if I understand its documentation correctly[#], returns a new connection object in all cases (that is, even on errors) with the only exception of "out of memory" (in which case it sets the second parameter to ``NULL``).
I think that the new connection object should be immediately released in case of errors, passing it to ``sqlite3_close()``.
.. [#] http://sqlite.org/c3ref/open.html |
|
Date |
User |
Action |
Args |
2017-12-11 09:41:13 | lelit | set | recipients:
+ lelit |
2017-12-11 09:41:13 | lelit | set | messageid: <1512985273.03.0.213398074469.issue32274@psf.upfronthosting.co.za> |
2017-12-11 09:41:12 | lelit | link | issue32274 messages |
2017-12-11 09:41:12 | lelit | create | |
|