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:
@@ -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]) ){
|
||||
|
||||
Reference in New Issue
Block a user