So I'm posting it here. The 3.8.6 Amalgam file generates an error in VS13 on
Windows:
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
So I'm posting it here. The 3.8.6 Amalgam file generates an error in VS13 on
Windows:
sqlite3.c(77874): error C4703: potentially uninitialized local pointer variable
'pReadr' used
This is from the source file src/vbesort.c in a function called
vdbeSorterSetupMerge:
PmaReader *pReadr;
This is the right way to report a bug, and as soon as you encounter a bug, you
should report it here.
As for the current query, this is not a bug, it's a VS13 compiler peculiarity which they feel pertinent to report on, but which does
not affect the ability of SQLite to produce the correct
Sorry, but if VS13 is a supported compiler. Then whatever it reports as an
error should be fixed. Not everyone who grabs the amalgam file to compile it
can figure out how to fix compiler errors. Are you saying it is not worth
suppressing this error just because it's only in one compiler? That's
Joe Mucchiello wrote:
if VS13 is a supported compiler. Then whatever it reports as an error
should be fixed.
This is not an error but a warning.
You have set a compiler option to treat all warnings as errors.
Remove it.
It does not hurt to initialize the variable since I'm sure those other
On 7 Sep 2014, at 5:34pm, Joe Mucchiello jmucchie...@yahoo.com wrote:
Sorry, but if VS13 is a supported compiler.
Actually I don't know what 'supported compiler' means for SQLite. I'm not even
sure specific compilers are supported. I think any appeal would have to be
made referring to the
On 2014-09-07, 8:26 AM, Joe Mucchiello wrote:
PmaReader *pReadr;
SortSubtask *pLast = pSorter-aTask[pSorter-nTask-1];
rc = vdbeSortAllocUnpacked(pLast);
if( rc==SQLITE_OK ){
pReadr = (PmaReader*)sqlite3DbMallocZero(db, sizeof(PmaReader));
On 07/09/14 05:20, Joe Mucchiello wrote:
So I'm posting it here.
For the record, this wiki page explains how to report a SQLite bug (first
google result too):
https://www.sqlite.org/src/wiki?name=Bug+Reports
Your issue is covered in the FAQ.
Roger
@sqlite.org
Sent: Sunday, September 7, 2014 2:10 PM
Subject: Re: [sqlite] Can't figure out how to report a bug
On 07/09/14 05:20, Joe Mucchiello wrote:
So I'm posting it here.
For the record, this wiki page explains how to report a SQLite bug (first
google result too):
https://www.sqlite.org/src