Hi all,

            Sqlite gives an error "Unable to close due to unfinalised
statements" if there are any active VM's while we try to close sqlite.

 

            Will there be any error (for eg, memory leak and others) if
we don't check the condition and try to close the sqlite?

 

 

The following code checks for that in sqlite3_close in main.c 

 

  if( db->pVdbe ){

    sqlite3Error(db, SQLITE_BUSY, 

        "Unable to close due to unfinalised statements");

    return SQLITE_BUSY;

  }

 

 

Regards,

Phani

 

Reply via email to