]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Changing the CAST behavior of REAL values actually changed a documented
authordrh <drh@noemail.net>
Tue, 26 Nov 2013 21:18:45 +0000 (21:18 +0000)
committerdrh <drh@noemail.net>
Tue, 26 Nov 2013 21:18:45 +0000 (21:18 +0000)
requirement.  So we also have to change the requirement evidence text to
match.

FossilOrigin-Name: d84aa44e3919e25f9520c5120a35ec21e837a9ea

manifest
manifest.uuid
test/e_expr.test

index 30adfeecf23ecb33bf7c13541bca09cb83e18b0c..3c8be252ebe7a6eebbbc89441a99a57d8f87a636 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Reduce\sthe\samount\sof\scode\sused\sto\simplement\sOP_SeekGe\sand\ssimilar.
-D 2013-11-26T18:22:59.246
+C Changing\sthe\sCAST\sbehavior\sof\sREAL\svalues\sactually\schanged\sa\sdocumented\nrequirement.\s\sSo\swe\salso\shave\sto\schange\sthe\srequirement\sevidence\stext\sto\nmatch.
+D 2013-11-26T21:18:45.278
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in e1a9b4258bbde53f5636f4e238c65b7e11459e2b
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -437,7 +437,7 @@ F test/e_createtable.test 3b453432cd14a12732ee9467597d2274ca37ce36
 F test/e_delete.test d5186e2f5478b659f16a2c8b66c09892823e542a
 F test/e_droptrigger.test 3cd080807622c13e5bbb61fc9a57bd7754da2412
 F test/e_dropview.test 0c9f7f60989164a70a67a9d9c26d1083bc808306
-F test/e_expr.test 0808bc72c7b2a2fab4291418ecd73f4d09d7d671
+F test/e_expr.test 5cc73445ccac0fa6e16ef05ccb42021c8bdd0c0e
 F test/e_fkey.test d83a04478bb9c02d2c513518548a69f818869f41
 F test/e_fts3.test 5c02288842e4f941896fd44afdef564dd5fc1459
 F test/e_insert.test 1e44f84d2abe44d66e4fbf198be4b20e3cc724a0
@@ -1143,7 +1143,7 @@ F tool/vdbe-compress.tcl f12c884766bd14277f4fcedcae07078011717381
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh d1a6de74685f360ab718efda6265994b99bbea01
 F tool/win/sqlite.vsix 030f3eeaf2cb811a3692ab9c14d021a75ce41fff
-P 6f91dca0de908dc2b15130a6593a61c3147a409f
-R d3fc734a7145de0774dfe549644c265c
-U dan
-Z 32a0a7a512d388c26cfa54a9b929b27b
+P 8b12a15a2a8139d75f56a099f3f6af844da3ac9c
+R 1c9b8ea37e158d8aa056f9d55c189c9f
+U drh
+Z 4aa8d025d1cf631a0e550b5e09b9ad22
index ffa1d68526e46258bf04b5c5728d52dc09dd557e..c2761395726b05c9d44c6faef5b5da1d38a1b1d0 100644 (file)
@@ -1 +1 @@
-8b12a15a2a8139d75f56a099f3f6af844da3ac9c
\ No newline at end of file
+d84aa44e3919e25f9520c5120a35ec21e837a9ea
\ No newline at end of file
index eead6a2b936738daef722b9b59dc866f4f3f744e..0f55cb9ae3b32d65aed8c42adf9a26b02a1365db 100644 (file)
@@ -1602,9 +1602,11 @@ do_expr_test e_expr-31.1.2 { CAST(1.99999 AS INTEGER) } integer 1
 do_expr_test e_expr-31.1.3 { CAST(-1.99999 AS INTEGER) } integer -1
 do_expr_test e_expr-31.1.4 { CAST(-0.99999 AS INTEGER) } integer 0
 
-# EVIDENCE-OF: R-49503-28105 If a REAL is too large to be represented as
-# an INTEGER then the result of the cast is the largest negative
-# integer: -9223372036854775808.
+# EVIDENCE-OF: R-51517-40824 If a REAL is greater than the greatest
+# possible signed integer (+9223372036854775807) then the result is the
+# greatest possible signed integer and if the REAL is less than the
+# least possible signed integer (-9223372036854775808) then the result
+# is the least possible signed integer.
 #
 do_expr_test e_expr-31.2.1 { CAST(2e+50 AS INT) } integer 9223372036854775807
 do_expr_test e_expr-31.2.2 { CAST(-2e+50 AS INT) } integer -9223372036854775808