On 12 Mar 2017, at 2:34am, ROCHAK GUPTA <gupta.roc...@gmail.com> wrote:

> I am using sqlite as library in multi-threaded environment where multiple
> applications use sqlite queries to perform get/set operations on attributes
> available in sqlite db tables. Intermittently i am seeing applications
> crashing when get operation is performed which intern call
> sqlite3_prepare_v2.

Chances are 99% that the fault is in your own code and not in SQLite.

Are your threads sharing a connection or do they each have their own connection 
?

Are your threads sharing a statement or do they each have their own statement ?

Are any of your threads writing or are they all reading ?

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

Reply via email to