mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-09 14:21:03 +03:00
Add NEVER() to an unfalsifiable branch.
FossilOrigin-Name: 9a0c67db366d38a0b0741f6a1ae333cf27cfe6f6b7c6eed94bdec9686f9f9f8a
This commit is contained in:
@@ -3043,7 +3043,7 @@ static int jsonFunctionArgToBlob(
|
||||
}
|
||||
case SQLITE_FLOAT: {
|
||||
double r = sqlite3_value_double(pArg);
|
||||
if( sqlite3IsNaN(r) ){
|
||||
if( NEVER(sqlite3IsNaN(r)) ){
|
||||
jsonBlobAppendNode(pParse, JSONB_NULL, 0, 0);
|
||||
}else{
|
||||
int n = sqlite3_value_bytes(pArg);
|
||||
|
||||
Reference in New Issue
Block a user