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

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
This commit is contained in:
drh
2023-12-11 19:00:44 +00:00
parent 7d2eaae83e
commit ba5505657f
8 changed files with 36 additions and 23 deletions

View File

@@ -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