Re: [sqlite] [PATCH] Verify number of arguments in icuRegexpFunc

2010-07-29 Thread Dan Kennedy
On Jul 30, 2010, at 12:44 PM, Scott Hess wrote: > On Thu, Jul 29, 2010 at 10:05 PM, Dan Kennedy > wrote: >> On Jul 30, 2010, at 8:39 AM, Paweł Hajdan, Jr. wrote: >>> I'm attaching a suggested patch to verify number of arguments >>> in icuRegexpFunc. Please review it.

Re: [sqlite] [PATCH] Verify number of arguments in icuRegexpFunc

2010-07-29 Thread Scott Hess
On Thu, Jul 29, 2010 at 10:05 PM, Dan Kennedy wrote: > On Jul 30, 2010, at 8:39 AM, Paweł Hajdan, Jr. wrote: >> I'm attaching a suggested patch to verify number of arguments >> in icuRegexpFunc. Please review it. >> >> This is upstreaming of >>

Re: [sqlite] [PATCH] Verify number of arguments in icuRegexpFunc

2010-07-29 Thread Dan Kennedy
On Jul 30, 2010, at 8:39 AM, Paweł Hajdan, Jr. wrote: > I'm attaching a suggested patch to verify number of arguments > in icuRegexpFunc. Please review it. > > This is upstreaming of > http://src.chromium.org/viewvc/chrome/trunk/src/third_party/sqlite/icu-regexp.patch?revision=34807=markup > >

Re: [sqlite] problems with running test suite

2010-07-29 Thread Gerry Snyder
package require Tcl 8.5 is all it takes Gerry On 7/29/10, Richard Hipp wrote: > On Thu, Jul 29, 2010 at 4:44 PM, Paweł Hajdan, Jr. > wrote: > >> I'm planning to contribute some patches (upstreaming patches Chromium >> project applies to its local copy

[sqlite] [PATCH] Verify number of arguments in icuRegexpFunc

2010-07-29 Thread Paweł Hajdan , Jr .
I'm attaching a suggested patch to verify number of arguments in icuRegexpFunc. Please review it. This is upstreaming of http://src.chromium.org/viewvc/chrome/trunk/src/third_party/sqlite/icu-regexp.patch?revision=34807=markup According to the commit message from above, it has been reported

Re: [sqlite] problems with running test suite

2010-07-29 Thread Simon Slavin
On 30 Jul 2010, at 1:14am, Paweł Hajdan, Jr. wrote: > On Thu, Jul 29, 2010 at 16:34, Richard Hipp wrote: > >> The test suite now requires Tcl 8.5. You appear to be running Tcl 8.4. >> > > That's right. After upgrading from tcl8.4 to tcl8.5 the tests run just fine. Can you

[sqlite] Statistics on integer primary key

2010-07-29 Thread Peter.Hizalev
Hello, Consider two tables: > create table a(num integer primary key); > create table b(num integer primary key); After loading both tables we have 100 rows in table a and 1000 in table b. We make sure b.num is a subset of a.num. Now we execute: > analyze We run two queries with timer

Re: [sqlite] problems with running test suite

2010-07-29 Thread Paweł Hajdan , Jr .
On Thu, Jul 29, 2010 at 16:34, Richard Hipp wrote: > The test suite now requires Tcl 8.5. You appear to be running Tcl 8.4. > That's right. After upgrading from tcl8.4 to tcl8.5 the tests run just fine. Thanks! ___ sqlite-users

Re: [sqlite] problems with running test suite

2010-07-29 Thread Richard Hipp
On Thu, Jul 29, 2010 at 4:44 PM, Paweł Hajdan, Jr. wrote: > I'm planning to contribute some patches (upstreaming patches Chromium > project applies to its local copy of sqlite). > > I've checked out the fossil repository, configured and compiled sqlite, and > tried

[sqlite] problems with running test suite

2010-07-29 Thread Paweł Hajdan , Jr .
I'm planning to contribute some patches (upstreaming patches Chromium project applies to its local copy of sqlite). I've checked out the fossil repository, configured and compiled sqlite, and tried running "make test" (I didn't make any changes). I'm pasting below the test result and some fossil

Re: [sqlite] typo in src/os_os2.c

2010-07-29 Thread Richard Hipp
On Wed, Jul 28, 2010 at 4:46 PM, Tamas TEVESZ wrote: > > hello, > > diff says it all: > > - OSTRACE( "OPEN want %d\n", flags )); > + OSTRACE(( "OPEN want %d\n", flags )); > > Previously found and fixed here: http://www.sqlite.org/src/ci/a6bb2108bf Do you have an OS/2

[sqlite] typo in src/os_os2.c

2010-07-29 Thread Tamas TEVESZ
hello, diff says it all: diff -urN sqlite-3.7.0.orig/src/os_os2.c sqlite-3.7.0/src/os_os2.c --- sqlite-3.7.0.orig/src/os_os2.c 2010-07-18 21:30:41.0 +0200 +++ sqlite-3.7.0/src/os_os2.c 2010-07-28 22:34:26.784414844 +0200 @@ -779,7 +779,7 @@ memset( pFile, 0, sizeof(*pFile)