diff options
author | drh <> | 2023-12-11 17:03:12 +0000 |
---|---|---|
committer | drh <> | 2023-12-11 17:03:12 +0000 |
commit | 7d2eaae83e46ef5f41419bdd4934f7ed4217529b (patch) | |
tree | 7f4a34939046a6be9317f9e73b7aedad5246b682 /src/sqliteInt.h | |
parent | ce46e0eb11ea5a518034d8a8415bd1d50da6dba5 (diff) | |
download | sqlite-7d2eaae83e46ef5f41419bdd4934f7ed4217529b.tar.gz sqlite-7d2eaae83e46ef5f41419bdd4934f7ed4217529b.zip |
Add SQLITE_TESTCTRL_VALIDATE_JSONB, which if enabled under SQLITE_DEBUG causes
cross-checking of generate JSONB.
FossilOrigin-Name: b410a4db74a650003539ffaaea18519d5159b504daac47db6a4874b730f40ac8
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index a0d596200..f2846ca6d 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -4177,6 +4177,9 @@ struct Sqlite3Config { u8 bSmallMalloc; /* Avoid large memory allocations if true */ u8 bExtraSchemaChecks; /* Verify type,name,tbl_name in schema */ u8 bUseLongDouble; /* Make use of long double */ +#ifdef SQLITE_DEBUG + u8 bJsonbValidate; /* Double-check JSONB parsing */ +#endif int mxStrlen; /* Maximum string length */ int neverCorrupt; /* Database is always well-formed */ int szLookaside; /* Default lookaside buffer size */ |