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

Change a switch() case to default for coverage.

FossilOrigin-Name: 04f497074b9210326030f36107a43d6490a2a59c8a574e2c5429cd9bde681bf7
This commit is contained in:
drh
2023-07-26 19:22:43 +00:00
parent beb3fb6904
commit 3f3dc2f5d8
3 changed files with 8 additions and 8 deletions

View File

@@ -2852,7 +2852,7 @@ static void jsonReplaceNode(
}
break;
}
case SQLITE_BLOB: {
default: {
jsonParseAddNode(p, JSON_NULL, 0, 0);
sqlite3_result_error(pCtx, "JSON cannot hold BLOB values", -1);
p->nErr++;