On Thu, Jul 28, 2011 at 9:21 AM, Clifford Hung <ch...@rim.com> wrote:
> I would like to make a feature request for a function to return a handle to > the first open blob handle. For statements, sqlite3_next_stmt() can be > called to return a pointer to the first prepared statement associated with a > database connection but there doesn't appear to be such a function for > returning a blob handle associated with a database connection. This would be > useful for preparing to close a database connection that may have open blob > handles. > The SQLite developers have be talking internally about implementing sqlite3_close_v2() which has an extra flags argument to alter the behavior. For example, with sqlite3_close_v2(), you can ask it to close blob handles automatically. Or you can ask for handles to be reference counted so you can sqlite3_blob_close() after the sqlite3_close_v2() rather than before, if you prefer (or if your garbage collector just choses to do it that way.) > > Thanks, > Cliff > > > --------------------------------------------------------------------- > This transmission (including any attachments) may contain confidential > information, privileged material (including material protected by the > solicitor-client or other applicable privileges), or constitute non-public > information. Any use of this information by anyone other than the intended > recipient is prohibited. If you have received this transmission in error, > please immediately reply to the sender and delete this information from your > system. Use, dissemination, distribution, or reproduction of this > transmission by unintended recipients is not authorized and may be unlawful. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users