]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When casting string values into numeric and the string has a prefix that looks
authordrh <drh@noemail.net>
Fri, 7 Jun 2019 22:26:08 +0000 (22:26 +0000)
committerdrh <drh@noemail.net>
Fri, 7 Jun 2019 22:26:08 +0000 (22:26 +0000)
commit9a2782293c37d360382296558c358d60929d0744
treef10f24b1048fde7df1fcdb90c072aade89842ae5
parent4eefeb5577a8bd3823c4b5dfc3152c824548574d
When casting string values into numeric and the string has a prefix that looks
like a number but total string is not a well-formed number, then take extra
care that the result is either integer or real depending on what the prefix
looks like.  Fix for tickets [e8bedb2a184001] and [4c2d7639f076aa].

FossilOrigin-Name: 67a68af5578f08d2be2e48cf4fd12a6cf35a09c47d259deda81950f7ee1f02f7
manifest
manifest.uuid
src/date.c
src/func.c
src/util.c
src/vdbe.c
src/vdbemem.c
test/cast.test
test/e_expr.test
test/tkt-a8a0d2996a.test