-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
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()
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
> 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 =
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. Here is what I am doing:
1. Using the sqlite3.exe run the following commands
begin transaction;
update users set name="hello"
2. Note I have not
5 matches
Mail list logo