diff options
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c index b4b9d8f81..8f7938a23 100644 --- a/src/json.c +++ b/src/json.c @@ -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); |