Re: [sqlite] sqlite3_free_table and sqlite3_close

2008-01-31 Thread drh
Torsten Blix <[EMAIL PROTECTED]> wrote: > Hi, > > is it safe to do the following in a C program while working with SQLite? I > tried searching the docs but couldn't find any answer. > > sqlite3_open(); > sqlite3_get_table(...result); > sqlite3_close(); > sqlite3_free_table(result); > > i.e.

[sqlite] sqlite3_free_table and sqlite3_close

2008-01-31 Thread Torsten Blix
Hi, is it safe to do the following in a C program while working with SQLite? I tried searching the docs but couldn't find any answer. sqlite3_open(); sqlite3_get_table(...result); sqlite3_close(); sqlite3_free_table(result); i.e. freeing the table AFTER the closing of the db_handle?