Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-19 Thread Raj, Praveen
Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Dan Kennedy Sent: Friday, October 15, 2010 9:08 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS On Oct 15, 2010, at 10:24 PM

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-15 Thread Black, Michael (IS)
I also see where you can set the behavior using procnto -- I'll bet "procnto ~i" will make sqlite behave correctly. Though this is a global change. Anybody who depends on this zeroing though is nuts... http://www.qnx.com/developers/docs/6.4.0/neutrino/lib_ref/m/munmap_flags.html There are

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-15 Thread Black, Michael (IS)
. Black > Senior Scientist > Advanced Analytics Directorate > Northrop Grumman Information Systems > > > > > From: sqlite-users-boun...@sqlite.org on behalf of Raj, Praveen > Sent: Fri 10/15/2010 9:55 AM > To: General Discussion of SQLite Database > Subject: EXTE

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-15 Thread Dan Kennedy
gt; Northrop Grumman Information Systems > > > > > From: sqlite-users-boun...@sqlite.org on behalf of Raj, Praveen > Sent: Fri 10/15/2010 9:55 AM > To: General Discussion of SQLite Database > Subject: EXTERNAL:Re: [sqlite] TestFixture 3.7.2 -

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-15 Thread Black, Michael (IS)
j, Praveen Sent: Fri 10/15/2010 9:55 AM To: General Discussion of SQLite Database Subject: EXTERNAL:Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS Hi Michael, Yes I added the "MAP_NOINIT" to mmap() and "UNMAP_INIT_OPTIONAL" flag to munmap_flags() call.

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-15 Thread Raj, Praveen
to:sqlite-users-boun...@sqlite.org] On Behalf Of Black, Michael (IS) Sent: Thursday, October 14, 2010 9:22 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS Did you also add the MAP_NOINIT to the mmap() call? It sounds like exact

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-14 Thread Black, Michael (IS)
From: sqlite-users-boun...@sqlite.org on behalf of Raj, Praveen Sent: Thu 10/14/2010 10:44 AM To: General Discussion of SQLite Database Subject: EXTERNAL:Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS Hi Micheal, Thanks Dan and Michael for all your inputs. I tried

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-14 Thread Raj, Praveen
lto:sqlite-users-boun...@sqlite.org] On Behalf Of Black, Michael (IS) Sent: Thursday, October 14, 2010 5:21 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS I sent this before...have you tried this? According to the QNX mmap

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-14 Thread Black, Michael (IS)
behalf of Raj, Praveen Sent: Thu 10/14/2010 5:53 AM To: General Discussion of SQLite Database Subject: EXTERNAL:Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS Hi Dan, I did some more investigation on the issue and i feel there is synchronization problem happening here. After mm

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-14 Thread Dan Kennedy
raveen > > -Original Message- > From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org > ] On Behalf Of Dan Kennedy > Sent: Friday, October 08, 2010 9:33 PM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] TestFixture 3.7.2 - S

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-14 Thread Raj, Praveen
base Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS On Oct 8, 2010, at 9:44 PM, Raj, Praveen wrote: > Hello, > > I debugged the SQLite functions and here is my finding: > > The call to "mmap" in the function "unixShmMap" is causing the is

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-08 Thread Dan Kennedy
On Oct 8, 2010, at 9:44 PM, Raj, Praveen wrote: > Hello, > > I debugged the SQLite functions and here is my finding: > > The call to "mmap" in the function "unixShmMap" is causing the issue. > void *pMem = mmap(0, szRegion, PROT_READ|PROT_WRITE, > MAP_SHARED, pShmNode->h,

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-08 Thread Black, Michael (IS)
Directorate Northrop Grumman Information Systems From: sqlite-users-boun...@sqlite.org on behalf of Raj, Praveen Sent: Fri 10/8/2010 9:44 AM To: General Discussion of SQLite Database Subject: EXTERNAL:Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-08 Thread Raj, Praveen
Kennedy > Sent: Wednesday, October 06, 2010 7:37 PM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX > OS > > > On Oct 6, 2010, at 8:15 PM, Raj, Praveen wrote: > >> Hello, >> >> I'm new to SQLi

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-06 Thread Dan Kennedy
nesday, October 06, 2010 7:37 PM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX > OS > > > On Oct 6, 2010, at 8:15 PM, Raj, Praveen wrote: > >> Hello, >> >> I'm new to SQLite, so not s

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-06 Thread Raj, Praveen
nnedy Sent: Wednesday, October 06, 2010 7:37 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS On Oct 6, 2010, at 8:15 PM, Raj, Praveen wrote: > Hello, > > I'm new to SQLite, so not sure what is the behavior of these fai

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-06 Thread Dan Kennedy
ilto:sqlite-users-boun...@sqlite.org > ] On Behalf Of Raj, Praveen > Sent: Sunday, October 03, 2010 7:42 PM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX > OS > > Hi, > > Yes the files sizes of &q

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-06 Thread Raj, Praveen
7:42 PM To: General Discussion of SQLite Database Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS Hi, Yes the files sizes of "test.db", "test.db-wal" and "test.db-shm" are 1024, 4333512 and 65536 bytes respectively as specified below. Most o

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-03 Thread Raj, Praveen
of SQLite Database Subject: Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS On Oct 1, 2010, at 2:20 PM, Raj, Praveen wrote: > Hi, > > I'm validating SQLite test suite version 3.7.2 on QNX operating > system. I have built the testfixture using SQLite amalgation file > and other

Re: [sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-02 Thread Dan Kennedy
On Oct 1, 2010, at 2:20 PM, Raj, Praveen wrote: > Hi, > > I'm validating SQLite test suite version 3.7.2 on QNX operating > system. I have built the testfixture using SQLite amalgation file > and other related files/libraries. > > I ran the full test suite and most of the test cases are

[sqlite] TestFixture 3.7.2 - Some WAL tests fail on QNX OS

2010-10-01 Thread Raj, Praveen
Hi, I'm validating SQLite test suite version 3.7.2 on QNX operating system. I have built the testfixture using SQLite amalgation file and other related files/libraries. I ran the full test suite and most of the test cases are passing, except some run in journal_mode = WAL. Test cases whose