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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user