Re: [sqlite] sqlite3_progress_handler(D,N,X,P)

2018-05-24 Thread x
? From: sqlite-users on behalf of R Smith Sent: Thursday, May 24, 2018 5:03:14 PM To: sqlite-users@mailinglists.sqlite.org Subject: Re: [sqlite] sqlite3_progress_handler(D,N,X,P) On 2018/05/24 5:41 PM, x wrote: > The parameter N is the approximate number of virt

Re: [sqlite] sqlite3_progress_handler(D,N,X,P)

2018-05-24 Thread R Smith
On 2018/05/24 5:41 PM, x wrote: The parameter N is the approximate number of virtual machine instructions that are evaluated between successive invocations of the callback X. Would it not have been better if N was the number of milliseconds between invocations

Re: [sqlite] sqlite3_progress_handler callback behavior change

2014-03-13 Thread Andreas Stieger
Hi, > On 13 Mar 2014, at 13:21, big stone wrote: > Does it mean we may have SQLite3.8.4.1 in imminent Python 3.4 release ? > > http://bugs.python.org/issue20901 This question did come up when building/packaging that and other versions of Python with SQLite 3.8.4(.1), where that caused a test f

Re: [sqlite] sqlite3_progress_handler callback behavior change

2014-03-13 Thread big stone
Hello Andreas, Does it mean we may have SQLite3.8.4.1 in imminent Python 3.4 release ? http://bugs.python.org/issue20901 ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] sqlite3_progress_handler callback behavior change

2014-03-13 Thread Richard Hipp
On Wed, Mar 12, 2014 at 5:27 PM, Andreas Stieger wrote: > Hello, > > I noticed a change in behavior of sqlite3_progress_handler for CREATE > TABLE, or rather the calls to the callbacks, and just wanted to get > clarification if this was intentional. > > Specifically, given the code below for a cal

Re: [sqlite] Sqlite3_progress_handler and automatic rollback

2010-11-01 Thread Max Vlasov
On Thu, Oct 28, 2010 at 2:03 PM, Max Vlasov wrote: > > The problem is that (tested with 3.6.10 and 3.7.2) if : > - I interrupt a query from Sqlite3_progress_handler > - I didn't invoke this error-processing rollback, > > ...sqlite after that does the following: > - sqlite3_get_autocommit starts t

Re: [sqlite] sqlite3_progress_handler

2005-11-30 Thread drh
Marco Bambini <[EMAIL PROTECTED]> wrote: > From the documentation: "If the progress callback returns a result > other than 0, then the current query is immediately terminated...", > so next time I call sqlite3_step what is the error returned? > SQLITE_ERROR or SQLITE_ABORT or something else?