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

Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test cases

so that they work with DEFENSIVE enabled.

FossilOrigin-Name: 3212733cb6d1a59516d67a86df7c7b1d2456a1b2e5d7080c26b0e87b2609c65d
This commit is contained in:
drh
2018-11-07 02:17:01 +00:00
parent 0f0d3ddf71
commit 6ab91a7a7a
111 changed files with 157 additions and 217 deletions

View File

@@ -3062,6 +3062,9 @@ static int openDatabase(
#endif
#if defined(SQLITE_ENABLE_QPSG)
| SQLITE_EnableQPSG
#endif
#if defined(SQLITE_DEFAULT_DEFENSIVE)
| SQLITE_Defensive
#endif
;
sqlite3HashInit(&db->aCollSeq);