On Fri, Dec 23, 2011 at 9:06 AM, Sreekumar TP <sreekumar...@gmail.com> wrote:
> Hi,
>
> yes, I know. I have a multithreaded app. One db conection.I will try to
> reproduce the problem with a simple app.
>
> However, the difference between the working and non working case is that in
> the working case statements are prepared each time. In the non working
> case, its reused.
>
> The very first call to bind throws this error.

Are you sure it's the very first call to bind? If difference between
working and non-working is reusing statements then it's probably not
the first bind, but first after statement was already executed. Are
you sure that you call sqlite3_reset on reused statement?


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

Reply via email to