mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
The quote() SQL function should convert +Inf into 9.0e+999 and -Inf into
-9.0e+999. See [forum:/forumpost/6675b25108|forum post 6675b25108]. FossilOrigin-Name: 85dd79a6edecfc8c6307c6d215998f76dab086aa14528ddc64eb9955501becfd
This commit is contained in:
@ -786,6 +786,11 @@ do_test func-16.1 {
|
||||
}
|
||||
} {X'616263' NULL}
|
||||
|
||||
# Test the quote function for +Inf and -Inf
|
||||
do_execsql_test func-16.2 {
|
||||
SELECT quote(4.2e+859), quote(-7.8e+904);
|
||||
} {9.0e+999 -9.0e+999}
|
||||
|
||||
# Correctly handle function error messages that include %. Ticket #1354
|
||||
#
|
||||
do_test func-17.1 {
|
||||
|
Reference in New Issue
Block a user