aboutsummaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authordrh <>2023-12-11 19:00:44 +0000
committerdrh <>2023-12-11 19:00:44 +0000
commitba5505657f94d5eb6bb7f0bd294e0c0b35b50dae (patch)
tree1c92679f271cd3397cd20e7a868341891bfe16c0 /src/json.c
parent7d2eaae83e46ef5f41419bdd4934f7ed4217529b (diff)
downloadsqlite-ba5505657f94d5eb6bb7f0bd294e0c0b35b50dae.tar.gz
sqlite-ba5505657f94d5eb6bb7f0bd294e0c0b35b50dae.zip
Rename the new test-control to SQLITE_TESTCTRL_JSON_SELFCHECK. Make it so
that the current value of the setting can be interrogated. FossilOrigin-Name: 7aff1d9a4cb17ecd5abab21ab032f35a78741dd641ddd8cbcc85fc4a81a0707d
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c
index f800dc931..407705c01 100644
--- a/src/json.c
+++ b/src/json.c
@@ -1876,7 +1876,7 @@ static int jsonConvertTextToBlob(
if( i>0 ){
#ifdef SQLITE_DEBUG
assert( pParse->iDepth==0 );
- if( sqlite3Config.bJsonbValidate ){
+ if( sqlite3Config.bJsonSelfcheck ){
assert( jsonbValidityCheck(pParse, 0, pParse->nBlob, 0)==0 );
}
#endif