Michael Knigge <[EMAIL PROTECTED]> wrote:
> All,
> 
> I wonder what I have to do if sqlite_finalize() fails? sqlite_close() 
> will fail if there are any prepared statements associated with a 
> database handle - so I can't close.
> 
> Due to the manual, sqlite_finalize() could return SQLITE_ABORT - do I 
> have to call sqlite_finalize() again in this case?
> 

THe bigger question is why you are designing a new system to
work with SQLite-2.  SQLite-2 is in maintenance for use on legacy
systems.  Use SQLite-3 instead.  sqlite3_finalize() cannot fail
for any reason other than SQLITE_MISUSE.
--
D. Richard Hipp   <[EMAIL PROTECTED]>

Reply via email to