On 4 December 2012 11:02, Simon Slavin <slav...@bigfraud.org> wrote:
> (Yes, I know I should be preparing and binding for security reasons, but that 
> doesn't work here.)
>
> What is the result when using _exec() on multiple statements when one of the 
> statements errors ?  I read this page:
>
> <http://www.sqlite.org/c3ref/exec.html>
>
> and I can't figure out whether execution continues to following statements 
> after one of them errors or not.  Assume, for the sake of argument, that I'm 
> not using any callbacks or hooks.

3rd paragraph:
"If an error occurs while evaluating the SQL statements passed into
sqlite3_exec(), then execution of the current statement stops and
subsequent statements are skipped."

>
> Simon.


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

Reply via email to