> On Apr 14, 2017, at 7:44 AM, Igor Korot <ikoro...@gmail.com> wrote: > > It means that the call to sqlite3_open() does not close previously > opened database and I have to explicitly close it > with sqlite3_close(). > > I was just couldn't find it anywhere in the docs. Probably missed it.
The handle is documented as an ‘out’ parameter to sqlite3_open, so the function simply ignores any value it has on input (it’s probably uninitialized garbage anyway.) All it does is store the new handle there. —Jens _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users