1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix a #ifdef in sqlite3_test_control() that was preventing builds with

SQLITE_OMIT_WSD.

FossilOrigin-Name: d546a9c94caf7408cc6e4530ec190d3a13fae09dc15b71b03d6369e02ee62abd
This commit is contained in:
drh
2024-01-03 20:40:17 +00:00
parent 4093b29610
commit aa08f885ba
3 changed files with 8 additions and 8 deletions

View File

@@ -4671,7 +4671,7 @@ int sqlite3_test_control(int op, ...){
** to be the current setting.
*/
case SQLITE_TESTCTRL_JSON_SELFCHECK: {
#if defined(SQLITE_DEBUG)
#if defined(SQLITE_DEBUG) && !defined(SQLITE_OMIT_WSD)
int *pOnOff = va_arg(ap, int*);
if( *pOnOff<0 ){
*pOnOff = sqlite3Config.bJsonSelfcheck;