Re: [sqlite] EXTERNAL: Re: Bug in fsdir

2018-03-15 Thread Edwards, Mark C.
I put the amalgamated 3.22.0 release into my production code.  Windows 10 is 
the customer execution platform. Do I need to update?
___
Mark C Edwards
Chief Scientist, C2 Systems Engineering & Integration
779 Monika Ct
Chubbuck, ID 83202
mark.c.edwa...@leidos.com
Mobile: 208-241-7982



-Original Message-
From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On 
Behalf Of Richard Hipp
Sent: Thursday, March 15, 2018 10:38 AM
To: SQLite mailing list 
Subject: EXTERNAL: Re: [sqlite] Bug in fsdir

On 3/15/18, Kees Nuyt  wrote:
> On Thu, 15 Mar 2018 15:55:05 +1100, Jake Thaw  
> wrote:
>
>>The following query causes a crash in fsdirNext on Windows 10.
>
> Fixed by Richard Hipp on trunk:
> https://www.sqlite.org/src/timeline

Credit where credit is due.  Joe found and fixed the problem.  All I did was 
merge it.

--
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] EXTERNAL: SQLite 3.22.0 coming soon

2018-01-09 Thread Edwards, Mark C.
Release mode/x86 Visual Studio 2015 Prono problems with the new snapshot
___
Mark C Edwards
Chief Scientist, C2 Systems Engineering & Integration
779 Monika Ct
Chubbuck, ID 83202
mark.c.edwa...@leidos.com
Mobile: 208-241-7982



-Original Message-
From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On 
Behalf Of Richard Hipp
Sent: Tuesday, January 09, 2018 6:07 PM
To: SQLite mailing list 
Subject: EXTERNAL: [sqlite] SQLite 3.22.0 coming soon

All of the minor issues mentioned by prior emails in this thread should now be 
fixed.  Thanks to everybody for proof-reading and testing!

Fresh source code is now available on trunk
(https://sqlite.org/src/info/trunk) and from the "Prerelease Snapshot"
link on the https://sqlite.org/download.html page if you would like to continue 
testing.

We are not yet at "pencils down".  More enhancements may yet go into this 
release before we start our final release testing.  Nevertheless, the community 
testing you have conducted so far has found several real issues, and is greatly 
appreciated.  Please continue the good work!
--
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] EXTERNAL: SQLite 3.22.0 coming soon

2018-01-09 Thread Edwards, Mark C.
The Release build/X86 on Visual Studio 2015 Pro worked. The prior problem with 
"possible uninitialized variables" has been resolved. 3.22.0 looks like a 
viable candidate
for incorporation in our source base. We use only the amalgamated sqlite3.h, 
sqlite3ext.h and sqlite3.c files.

Thanks!

___
Mark C Edwards
Chief Scientist, C2 Systems Engineering & Integration
779 Monika Ct
Chubbuck, ID 83202
mark.c.edwa...@leidos.com
Mobile: 208-241-7982



-Original Message-
From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On 
Behalf Of Richard Hipp
Sent: Tuesday, January 09, 2018 11:46 AM
To: General Discussion of SQLite Database 
Subject: EXTERNAL: [sqlite] SQLite 3.22.0 coming soon

Version 3.22.0 will probably be released soon.  Your help in beta-testing is 
appreciated.  Please download the latest "trunk"
sources (from https://sqlite.org/src/info/trunk) or a pre-release snapshot (the 
top-most link at https://sqlite.org/download.html) and verify that you are able 
to build and use the latest code in your applications.  Report any issues to 
this mailing list, or directly to me.

The latest change summary can be seen at 
https://www.sqlite.org/draft/releaselog/3_22_0.html and the draft
3.22.0 webpage is at https://www.sqlite.org/draft

Detailed log of all check-ins since the last release:
https://www.sqlite.org/src/timeline?from=release&to=trunk

--
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] EXTERNAL: SQLite 3.22.0 coming soon

2018-01-09 Thread Edwards, Mark C.
Thanks Richard. I'll build the amalgamated version in Release mode/X86 in VS 
2015 Pro to see if it completes without complaint.
___
Mark C Edwards
Chief Scientist, C2 Systems Engineering & Integration
779 Monika Ct
Chubbuck, ID 83202
mark.c.edwa...@leidos.com
Mobile: 208-241-7982


-Original Message-
From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On 
Behalf Of Richard Hipp
Sent: Tuesday, January 09, 2018 11:46 AM
To: General Discussion of SQLite Database 
Subject: EXTERNAL: [sqlite] SQLite 3.22.0 coming soon

Version 3.22.0 will probably be released soon.  Your help in beta-testing is 
appreciated.  Please download the latest "trunk"
sources (from https://sqlite.org/src/info/trunk) or a pre-release snapshot (the 
top-most link at https://sqlite.org/download.html) and verify that you are able 
to build and use the latest code in your applications.  Report any issues to 
this mailing list, or directly to me.

The latest change summary can be seen at 
https://www.sqlite.org/draft/releaselog/3_22_0.html and the draft
3.22.0 webpage is at https://www.sqlite.org/draft

Detailed log of all check-ins since the last release:
https://www.sqlite.org/src/timeline?from=release&to=trunk

--
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] EXTERNAL: Re: Possibly uninitialized variables...compile time error

2017-12-16 Thread Edwards, Mark C.
Thank you. I'm looking forward to a clean build on the next release.

___
Mark C Edwards
Chief Scientist, C2 Systems Engineering & Integration
779 Monika Ct
Chubbuck, ID 83202
mark.c.edwa...@leidos.com
Mobile: 208-241-7982



-Original Message-
From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On 
Behalf Of Richard Hipp
Sent: Friday, December 15, 2017 9:42 PM
To: SQLite mailing list 
Cc: sqlite-...@mailinglists.sqlite.org
Subject: EXTERNAL: Re: [sqlite] Possibly uninitialized variables...compile time 
error

On 12/15/17, Edwards, Mark C.  wrote:
> sqlite3.c(167291): error C4703: potentially uninitialized local 
> pointer variable 'pNode' used
> sqlite3.c(168154): error C4703: potentially uninitialized local 
> pointer variable 'pRoot' used
> sqlite3.c(168160): error C4703: potentially uninitialized local 
> pointer variable 'pChild' used

All these warnings are false positives.  The variables are initialized by prior 
calls to the nodeAcquire() function.  The problem is that
nodeAcquire() does not necessarily initialize the variables, but if it does 
not, it returns a result code other than SQLITE_OK, and in those cases, the 
code that uses the variables that nodeAcquire() was suppose to have initialized 
is never reached.  Thus there is no possibility of using an uninitialized 
variable.

However, the code in question is not on a critical path.  Hence, I have now 
added extra (unnecessary) local variable initializations in the relevant RTree 
indexing routines so that these warnings should now be suppressed.

--
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Possibly uninitialized variables...compile time error

2017-12-15 Thread Edwards, Mark C.
sqlite3.c(167291): error C4703: potentially uninitialized local pointer 
variable 'pNode' used
sqlite3.c(168154): error C4703: potentially uninitialized local pointer 
variable 'pRoot' used
sqlite3.c(168160): error C4703: potentially uninitialized local pointer 
variable 'pChild' used

Two of these are present in the 3.21.0 version. This is the amalgamated source 
for 3.20.1 that
I tried out last night in hopes that I would get a good build.  Setting the 
pointer values to NULL
where initially declared will resolve the problem.

I want to incorporate the latest SQLite3 release into my current build with no 
changes
to the released source as evidenced by a matching SHA3 sum as published.  The 
3.21.0
fails that objective. I could fix it with just a couple simple edits, but that 
violates the
integrity of the checksum.

The above problem occurs in an X86 Release build using Visual Studio 2015 Pro
and link time code generation.

___
Mark C Edwards
Chief Scientist, C2 Systems Engineering & Integration
779 Monika Ct
Chubbuck, ID 83202
mark.c.edwa...@leidos.com
Mobile: 208-241-7982


___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users