1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Fix the translation of JSON5 numeric values from BLOB into text.

FossilOrigin-Name: 40c4fb441f220982e4d61fd42597cf18546791a302fbcc8eec2eed29ee15ef35
This commit is contained in:
drh
2023-11-21 18:23:43 +00:00
parent e97f295783
commit 664fe310b5
3 changed files with 9 additions and 7 deletions

View File

@@ -3375,6 +3375,8 @@ static u32 jsonXlateBlobToText(
if( zIn[0]=='-' ){
jsonAppendChar(pOut, '-');
k++;
}else if( zIn[0]=='+' ){
k++;
}
for(; k<sz; k++){
if( !sqlite3Isxdigit(zIn[k]) ){