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. freeing the table AFTER the closing of the db_handle?
> 

yes.
--
D. Richard Hipp <[EMAIL PROTECTED]>


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[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?

Cheers,
Torsten Blix


-- 
View this message in context: 
http://www.nabble.com/sqlite3_free_table-and-sqlite3_close-tp15204430p15204430.html
Sent from the SQLite mailing list archive at Nabble.com.


-
To unsubscribe, send email to [EMAIL PROTECTED]
-