aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeapi.c
diff options
context:
space:
mode:
authordrh <>2023-12-05 19:45:09 +0000
committerdrh <>2023-12-05 19:45:09 +0000
commit88208296c251e5e427c7a8554d3af6a29cd6e728 (patch)
tree03a08e2cce225a2049a37cb7cacade24ade99637 /src/vdbeapi.c
parent768b6e32f699a2e76b21f1ef512d7c1811899bac (diff)
parent5afd67b3c38d9af1fe7ad4a04567e5a8aaf5746f (diff)
downloadsqlite-88208296c251e5e427c7a8554d3af6a29cd6e728.tar.gz
sqlite-88208296c251e5e427c7a8554d3af6a29cd6e728.zip
Rework the JSON functions so that they use the JSONB format internally.
The original JsonNode parse tree design is removed. All JSON functions that accept text JSON also accept JSONB. New functions generate JSONB. FossilOrigin-Name: 7f0c79b94e8f55e5013e52ba64ba8b32dad1dc4e2224d2099733cbc561de1810
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r--src/vdbeapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c
index 570cb3d8b..14c6091e0 100644
--- a/src/vdbeapi.c
+++ b/src/vdbeapi.c
@@ -950,9 +950,8 @@ int sqlite3_step(sqlite3_stmt *pStmt){
void *sqlite3_user_data(sqlite3_context *p){
#ifdef SQLITE_ENABLE_API_ARMOR
if( p==0 ) return 0;
-#else
- assert( p && p->pFunc );
#endif
+ assert( p && p->pFunc );
return p->pFunc->pUserData;
}