Thiago Mello wrote:
Yes, in my callback() functions I have some sqlite_exec() functions.

How I can avoid this?


It is safe to call sqlite_exec() from within a callback. By "safe" I mean that you should never get back an SQLITE_MISUSE. But if you are trying to use an inner sqlite_exec() to modify a table that is being read by the outer SELECT statement, you will always get back an SQLITE_BUSY right away, regardless of whether or not you have registered a timeout or busy handler.


-- D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to