Adjust requirements marks and add new requirements tests.
FossilOrigin-Name: ebb81dad1f43dac4636cd44d4055d1d4b198c675f73e23c5a2d8d992ae27fe1f
This commit is contained in:
parent
13d0402077
commit
0ce974d122
18
manifest
18
manifest
@ -1,5 +1,5 @@
|
||||
C As\sa\sspecial\scase,\scasting\s'-0.0'\sinto\snumeric\sshould\syield\s0.\nFix\sfor\sticket\s[674385aeba91c774].
|
||||
D 2019-06-12T20:51:38.407
|
||||
C Adjust\srequirements\smarks\sand\sadd\snew\srequirements\stests.
|
||||
D 2019-06-12T22:46:04.741
|
||||
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
||||
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
||||
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
||||
@ -483,7 +483,7 @@ F src/hash.c 8d7dda241d0ebdafb6ffdeda3149a412d7df75102cecfc1021c98d6219823b19
|
||||
F src/hash.h 9d56a9079d523b648774c1784b74b89bd93fac7b365210157482e4319a468f38
|
||||
F src/hwtime.h 747c1bbe9df21a92e9c50f3bbec1de841dc5e5da
|
||||
F src/in-operator.md 10cd8f4bcd225a32518407c2fb2484089112fd71
|
||||
F src/insert.c 4ffc3aa5d2aed178b501533428a76e150907e92a1e4bf7af4ffbcb0d77e99823
|
||||
F src/insert.c f20925c2c08144442dabeb73dcd0f5026f5f085d827f3d5635f7c45e5d195320
|
||||
F src/legacy.c d7874bc885906868cd51e6c2156698f2754f02d9eee1bae2d687323c3ca8e5aa
|
||||
F src/loadext.c 22afc33c3a61b4fd80a60a54f1882688371e6bc64685df2696b008fce65a999c
|
||||
F src/main.c 3c3925b0bcb4c45687fd52f54c79e98e379252e1d3393f8b7dcccfa26181b661
|
||||
@ -512,7 +512,7 @@ F src/os_win.h 7b073010f1451abe501be30d12f6bc599824944a
|
||||
F src/pager.c 422fd8cfa59fb9173eff36a95878904a0eeb0dcc62ba49350acc8b1e51c4dc7b
|
||||
F src/pager.h 217921e81eb5fe455caa5cda96061959706bcdd29ddb57166198645ef7822ac3
|
||||
F src/parse.y 026e3e6fff32432166a4eae0bdb78ad09a53c84eb49acb44dc32e49b4c0b8a48
|
||||
F src/pcache.c 696a01f1a6370c1b50a09c15972bc3bee3333f8fcd1f2da8e9a76b1b062c59ee
|
||||
F src/pcache.c fd2d0553b3222d6b9f7cb251079e5bca1299d1161da3027b525932d8bf46340a
|
||||
F src/pcache.h 4f87acd914cef5016fae3030343540d75f5b85a1877eed1a2a19b9f284248586
|
||||
F src/pcache1.c be64b2f3908a7f97c56c963676eb12f0d6254c95b28cdc1d73a186eff213219d
|
||||
F src/pragma.c 925bcac0afd98a0d4255c7524b93239ab4d83893d96f7f8fdccd78d4929a39bb
|
||||
@ -723,7 +723,7 @@ F test/capi3b.test efb2b9cfd127efa84433cd7a2d72ce0454ae0dc4
|
||||
F test/capi3c.test 54e2dc0c8fd7c34ad1590d1be6864397da2438c95a9f5aee2f8fbc60c112e44b
|
||||
F test/capi3d.test aba917805573a03deed961a21f07a5a84505ad0a616f7e3fc1508844a15bccc4
|
||||
F test/capi3e.test 3d49c01ef2a1a55f41d73cba2b23b5059ec460fe
|
||||
F test/cast.test 6678564470f08a638425d38d7e33da2a3af9b121c7c4136712997e02a250974f
|
||||
F test/cast.test 3619f0c58c2e4b2a94aa86e75607e497d34ef40ab74418e71aef7b4ca5155895
|
||||
F test/cffault.test 9d6b20606afe712374952eec4f8fd74b1a8097ef
|
||||
F test/check.test dcc952a127c394ce0de2aa634d26c78207e855327cc63a24d3638ca8fbfa641e
|
||||
F test/chunksize.test 427d87791743486cbf0c3b8c625002f3255cb3a89c6eba655a98923b1387b760
|
||||
@ -821,7 +821,7 @@ F test/e_createtable.test 1c602347e73ab80b11b9fa083f47155861aaafcff8054aac9e0b76
|
||||
F test/e_delete.test ab39084f26ae1f033c940b70ebdbbd523dc4962e
|
||||
F test/e_droptrigger.test 3cd080807622c13e5bbb61fc9a57bd7754da2412
|
||||
F test/e_dropview.test 21ce09c361227ddbc9819a5608ee2700c276bdd5
|
||||
F test/e_expr.test 628c1c5990e7df71bee17c83afcf59f31c3d34914b829ac098ee3a72b2f1d061
|
||||
F test/e_expr.test e6048fe3901241799c4315bdd625f39dae790ff089c454979ca85f03b644dc6f
|
||||
F test/e_fkey.test 2febb2084aef9b0186782421c07bc9d377abf067c9cb4efd49d9647ae31f5afe
|
||||
F test/e_fts3.test 17ba7c373aba4d4f5696ba147ee23fd1a1ef70782af050e03e262ca187c5ee07
|
||||
F test/e_insert.test f02f7f17852b2163732c6611d193f84fc67bc641fb4882c77a464076e5eba80e
|
||||
@ -1830,7 +1830,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||
P 5c6146b56a75a94f4baa10e95407c54dd0b9314a57a8702a4b96b15c4d7ac48c
|
||||
R 6c86d629a66a89517c28e86d21d1e096
|
||||
P 491f0f9bbddb6302536d99abd1ea481fd747ddcf6c6eaaacc0338d147b119081
|
||||
R 74b2bba9e3465235032a43b32357bf19
|
||||
U drh
|
||||
Z 50b8926736baa22469a105aadf87c0d7
|
||||
Z d33ff3e8865e3f4c95fe281e7298214c
|
||||
|
@ -1 +1 @@
|
||||
491f0f9bbddb6302536d99abd1ea481fd747ddcf6c6eaaacc0338d147b119081
|
||||
ebb81dad1f43dac4636cd44d4055d1d4b198c675f73e23c5a2d8d992ae27fe1f
|
@ -1425,7 +1425,7 @@ void sqlite3GenerateConstraintChecks(
|
||||
}else{
|
||||
char *zName = pCheck->a[i].zName;
|
||||
if( zName==0 ) zName = pTab->zName;
|
||||
if( onError==OE_Replace ) onError = OE_Abort; /* IMP: R-15569-63625 */
|
||||
if( onError==OE_Replace ) onError = OE_Abort; /* IMP: R-26383-51744 */
|
||||
sqlite3HaltConstraint(pParse, SQLITE_CONSTRAINT_CHECK,
|
||||
onError, zName, P4_TRANSIENT,
|
||||
P5_ConstraintCheck);
|
||||
|
@ -243,9 +243,10 @@ static int numberOfCachePages(PCache *p){
|
||||
** suggested cache size is set to N. */
|
||||
return p->szCache;
|
||||
}else{
|
||||
/* IMPLEMENTATION-OF: R-61436-13639 If the argument N is negative, then
|
||||
** the number of cache pages is adjusted to use approximately abs(N*1024)
|
||||
** bytes of memory. */
|
||||
/* IMPLEMANTATION-OF: R-59858-46238 If the argument N is negative, then the
|
||||
** number of cache pages is adjusted to be a number of pages that would
|
||||
** use approximately abs(N*1024) bytes of memory based on the current
|
||||
** page size. */
|
||||
return (int)((-1024*(i64)p->szCache)/(p->szPage+p->szExtra));
|
||||
}
|
||||
}
|
||||
|
@ -419,10 +419,8 @@ do_execsql_test cast-7.12 {
|
||||
# 2019-06-10
|
||||
# https://www.sqlite.org/src/info/dd6bffbfb6e61db9
|
||||
#
|
||||
# EVIDENCE-OF: R-09295-61337 Casting a TEXT or BLOB value into NUMERIC
|
||||
# first does a forced conversion into REAL but then further converts the
|
||||
# result into INTEGER if and only if the conversion from REAL to INTEGER
|
||||
# is lossless and reversible.
|
||||
# EVIDENCE-OF: R-55084-10555 Casting a TEXT or BLOB value into NUMERIC
|
||||
# yields either an INTEGER or a REAL result.
|
||||
#
|
||||
do_execsql_test cast-7.20 {
|
||||
DROP TABLE IF EXISTS t0;
|
||||
|
@ -1644,16 +1644,40 @@ do_expr_test e_expr-31.2.4 {
|
||||
} integer 9223372036854775807
|
||||
|
||||
|
||||
# EVIDENCE-OF: R-09295-61337 Casting a TEXT or BLOB value into NUMERIC
|
||||
# first does a forced conversion into REAL but then further converts the
|
||||
# result into INTEGER if and only if the conversion from REAL to INTEGER
|
||||
# is lossless and reversible.
|
||||
# EVIDENCE-OF: R-55084-10555 Casting a TEXT or BLOB value into NUMERIC
|
||||
# yields either an INTEGER or a REAL result.
|
||||
#
|
||||
# EVIDENCE-OF: R-48945-04866 If the input text looks like an integer
|
||||
# (there is no decimal point nor exponent) and the value is small enough
|
||||
# to fit in a 64-bit signed integer, then the result will be INTEGER.
|
||||
#
|
||||
# EVIDENCE-OF: R-47045-23194 Input text that looks like floating point
|
||||
# (there is a decimal point and/or an exponent) and the text describes a
|
||||
# value that can be losslessly converted back and forth between IEEE 754
|
||||
# 64-bit float and a 51-bit signed integer, then the result is INTEGER.
|
||||
#
|
||||
do_expr_test e_expr-32.1.1 { CAST('45' AS NUMERIC) } integer 45
|
||||
do_expr_test e_expr-32.1.2 { CAST('45.0' AS NUMERIC) } integer 45
|
||||
do_expr_test e_expr-32.1.3 { CAST('45.2' AS NUMERIC) } real 45.2
|
||||
do_expr_test e_expr-32.1.4 { CAST('11abc' AS NUMERIC) } integer 11
|
||||
do_expr_test e_expr-32.1.5 { CAST('11.1abc' AS NUMERIC) } real 11.1
|
||||
do_expr_test e_expr-32.1.6 {CAST( '9.223372036e14' AS NUMERIC)} integer 922337203600000
|
||||
do_expr_test e_expr-32.1.7 {CAST('-9.223372036e14' AS NUMERIC)} integer -922337203600000
|
||||
do_expr_test e_expr-32.1.8 {CAST( '9.223372036e15' AS NUMERIC)} real 9223372036000000.0
|
||||
do_expr_test e_expr-32.1.9 {CAST('-9.223372036e15' AS NUMERIC)} real -9223372036000000.0
|
||||
|
||||
|
||||
# EVIDENCE-OF: R-50300-26941 Any text input that describes a value
|
||||
# outside the range of a 64-bit signed integer yields a REAL result.
|
||||
#
|
||||
do_expr_test e_expr-32.1.20 { CAST('9223372036854775807' AS numeric) } \
|
||||
integer 9223372036854775807
|
||||
do_expr_test e_expr-32.1.21 { CAST('9223372036854775808' AS numeric) } \
|
||||
real 9.22337203685478e+18
|
||||
do_expr_test e_expr-32.1.22 { CAST('-9223372036854775808' AS numeric) } \
|
||||
integer -9223372036854775808
|
||||
do_expr_test e_expr-32.1.23 { CAST('-9223372036854775809' AS numeric) } \
|
||||
real -9.22337203685478e+18
|
||||
|
||||
# EVIDENCE-OF: R-30347-18702 Casting a REAL or INTEGER value to NUMERIC
|
||||
# is a no-op, even if a real value could be losslessly converted to an
|
||||
|
Loading…
Reference in New Issue
Block a user