By FFI I mean any of the public SQLite C functions exported from via FFI.

Ok thanks, this makes sense the error callback is called whilst SQLite is
executing exec/step.

Do I need on callback per thread?

On Sun, Aug 11, 2019 at 4:31 PM Clemens Ladisch <clem...@ladisch.de> wrote:

> test user wrote:
> > The error log takes a callback which is called when an error occurs from
> > any SQLite FFI function:
>
> What exactly do you mean with "FFI"?  You did not mention any other
> language.
>
> > How does this interrupt my program whilst its running?
>
> As a library, SQLite is part of your program.  It just calls the callback
> while sqlite3_exec()/sqlite3_step() etc. is being executed.
>
>
> Regards,
> Clemens
> _______________________________________________
> 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