Yes the BEGIN Transaction may get a BUSY/LOCKED error.

If the BEGIN fails then do not commit, If you do commit you'll get an error 
indicating that the commit failed due to no active transaction



Gregor Brandt <[EMAIL PROTECTED]> wrote: When doing transactional commits I do

int error = sqlite3_Exec( .., "BEGIN TRANSACTION;", ... )   // can  
this ever return an error?
int error = sqlite3_exect( ..., "some update command", ... )

if I get an error code, must I never do the "COMMIT;".  what if I do?

Thanks
Gregor

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

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

Reply via email to