On Sun, Oct 5, 2014 at 1:54 PM, ISHIKAWA,chiaki <[email protected]>
wrote:

>
> I am reporting a suspicious compile-time error warning and
> a fix to avoid a negative array index access during run time within
> an assert().
>

This harmless compiler warning should now be fixed.

But as an aside:  The warning was inside an assert() statement, which
should be a no-op unless you compile with -DSQLITE_DEBUG.  Are you
generating a debugging build?  I ask because the -DSQLITE_DEBUG
compile-time option makes the SQLite library use about 2.4 times more CPU
time.  The -DSQLITE_DEBUG option is great for testing and debugging work,
but for a release build, or for any build where performance is important,
it should be omitted.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to