On Tue, 14 Feb 2017, Jens Alfke wrote:
If we have two threads executing sqlite3_step() on the same connection and
using their own prepared statement, is there any magic in sqlite3 which would
keep sqlite3_step() and sqlite3_column_foo() from consuming (or disrupting) the
results from the other thread?
Not if they’re using the same statement. A statement is a stateful
object, so using it on multiple threads is probably going to cause
problems.
To be clear, each thread is using its own prepared statement.
Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users