> Suppose I have a call to sqlite3_exec in my code and it calls into the > callback function passed as the third parameter to this sqlite3_exec call. > Is it possible to create another sqlite3 object with a sqlite3_open to the > same database file from within this callback? Or in other words: Can I fire > a query from within a callback of a query, ore more or less nested queries? > Is this supported or even a common pattern?
Yes. SQLite is reentrant. It commonly issues its own queries in order to run user queries. ____________________________________________________________________________________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------