Thanks Simon . I intend to do error log callback .  I want to terminate my 
program when an operation could potentially cause my DB to corrupt to identify 
which code actually cause this .

Which Result code that i need to capture which could potentially cause my DB to 
corrupt ?

SQLite Result Codes
  
|  
|   |  
SQLite Result Codes
   |  |

  |

 
 

    On Monday, June 27, 2016 12:19 AM, Simon Slavin <slav...@bigfraud.org> 
wrote:
 

 
On 26 Jun 2016, at 4:11pm, mon siong <monsi...@yahoo.com> wrote:

>            Open the database without close can cause DB corrupt ? 

Not if the software and hardware is working correctly.  The next time you open 
the database SQLite will work out that it wasn't closed correctly and will 
restore the database to good data.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


  
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to