|
int sqlite3_close(sqlite3 *);
This routine is the destructor for the sqlite3 object.
Applications must finalize all prepared statements and close all BLOB handles associated with the sqlite3 object prior to attempting to close the object.
If sqlite3_close() is invoked while a transaction is open, the transaction is automatically rolled back.
The C parameter to sqlite3_close(C) must be either a NULL pointer or an sqlite3 object pointer obtained from sqlite3_open(), sqlite3_open16(), or sqlite3_open_v2(), and not previously closed.