1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Limit the "precision" of floating-point to text conversions in the printf()

function to 100,000,000.  Fix for ticket [23439ea582241138].

FossilOrigin-Name: d08d3405878d394e08e5d3af281246edfbd81ca74cc8d16458808591512fb93d
This commit is contained in:
drh
2020-05-23 19:58:07 +00:00
parent 8e50d65aaf
commit dd6c33d372
4 changed files with 27 additions and 8 deletions

View File

@ -3777,4 +3777,11 @@ foreach ::iRepeat {0 1} {
}
}
# 2020-05-23
# ticket 23439ea582241138
#
do_execsql_test printf-16.1 {
SELECT printf('%.*g',2147483647,0.01);
} {0.01}
finish_test