sqlite-amalgamation-3430200.zip

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4505 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-10-11 15:52:41 +00:00
parent 29d2a45abc
commit 2d67f5ead6
3 changed files with 30 additions and 23 deletions

2
deps/sqlite/shell.c vendored
View File

@ -1260,7 +1260,7 @@ static void shellDtostr(
char z[400];
if( n<1 ) n = 1;
if( n>350 ) n = 350;
sprintf(z, "%#+.*e", n, r);
snprintf(z, sizeof(z)-1, "%#+.*e", n, r);
sqlite3_result_text(pCtx, z, -1, SQLITE_TRANSIENT);
}