]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Change the REAL-to-INTEGER casting behavior so that if the REAL value
authordrh <drh@noemail.net>
Tue, 26 Nov 2013 15:45:02 +0000 (15:45 +0000)
committerdrh <drh@noemail.net>
Tue, 26 Nov 2013 15:45:02 +0000 (15:45 +0000)
commitde1a8b8c691ecc8be8b9741b6b5b5cd141c8c3da
treedbea3ec5c8f09d9b3401ee1eb836e07c1ca4216c
parentdad19c320475942a449ac6f9817a4d06dfddf392
Change the REAL-to-INTEGER casting behavior so that if the REAL value
is greater than 9223372036854775807.0 then it is cast to the latest
possible integer, 9223372036854775807.  This is sensible and the way
most platforms work in hardware.  The former behavior was that oversize
REALs would be cast to the smallest possible integer, -9223372036854775808,
which is the way Intel hardware works.

FossilOrigin-Name: 6f53fc7106658d44edf63068f9a8522fa5a7688b
manifest
manifest.uuid
src/util.c
src/vdbe.c
src/vdbemem.c
test/autoinc.test
test/e_expr.test