]> git.ipfire.org Git - thirdparty/sqlite.git/commit
The documentation says that the built-in date-time functions give undefined
authordrh <drh@noemail.net>
Tue, 29 Nov 2016 20:39:48 +0000 (20:39 +0000)
committerdrh <drh@noemail.net>
Tue, 29 Nov 2016 20:39:48 +0000 (20:39 +0000)
commit3edb157e2316476aa88f28ad203382905fee363c
treeff8a0a76134e34c9b03c6e8cefe59963102a8641
parentbc60368d6f8521260cc1228da279a3421651b39f
The documentation says that the built-in date-time functions give undefined
results for dates before 0000-01-01 and after 9999-12-31.  Change the
actually implementation so that the answer given is really NULL.  This also
avoids unnecessary hand-wringing over an signed integer overflow that might
otherwise occur when processing out-of-bound dates.

FossilOrigin-Name: d410a839752153c6d8be08f758abfbc16475745a
manifest
manifest.uuid
src/date.c
test/date.test