good day!..

i have a list of records that i want to insert in my database..if ever an
error occurred ( e.g. insert was not successful ), i want to undo all the
previous inserts that i have done..to do this, i have read that i would need
to use sqlite3_commit_hook and sqlite3_rollback_hook..i have read their
descriptions in the sqlite site, but i really can't understand it..im just a
newbie in sqlite by the way..i also have tried searching sample c codes that
does these things but i really cant find any..

i would just like to request a simple sample code demonstrating on how to
use these two apis..if it is ok also, please leave a very brief explanation
on what happened in the code..

thank you and God bless!.. :working:
-- 
View this message in context: 
http://www.nabble.com/commit-and-rollback-tf4804976.html#a13746534
Sent from the SQLite mailing list archive at Nabble.com.


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

Reply via email to