Re: [sqlite] Busy handler not called

2010-11-12 Thread Prakash Reddy Bande
-Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Jay A. Kreibich Sent: Friday, November 12, 2010 7:16 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Busy handler not called On Fri, Nov 12, 2010 at 04:51:11PM

Re: [sqlite] Busy handler not called

2010-11-12 Thread Jay A. Kreibich
On Fri, Nov 12, 2010 at 04:51:11PM -0500, Prakash Reddy Bande scratched on the wall: > Hi, > > I have set a busy handler. > > int ret = sqlite3_open(dbname.c_str(), _ppDb); > sqlite3_busy_handler(m_ppDb, , 0); > > However it is not getting called. As the docs for sqlite3_busy_handler()

Re: [sqlite] Busy handler not called

2010-11-12 Thread Prakash Reddy Bande
r 12, 2010 4:57 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] Busy handler not called > int ret = sqlite3_exec(m_ppDb, query.c_str(), , , > ); > > I get SQLITE_BUSY and hwLMsqlite3BusyHandler is not getting called. What query do you use? Pavel On Fri, Nov 12, 2

Re: [sqlite] Busy handler not called

2010-11-12 Thread Pavel Ivanov
> int ret = sqlite3_exec(m_ppDb, query.c_str(), , , > ); > > I get SQLITE_BUSY and hwLMsqlite3BusyHandler is not getting called. What query do you use? Pavel On Fri, Nov 12, 2010 at 4:51 PM, Prakash Reddy Bande wrote: > Hi, > > I have set a busy handler. > > int ret =