aboutsummaryrefslogtreecommitdiff
path: root/test/parser1.test
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2018-11-07 02:17:01 +0000
committerdrh <drh@noemail.net>2018-11-07 02:17:01 +0000
commit6ab91a7a7aed9e7e1d86e63b7c8cfbfa15a27792 (patch)
tree0eb3f6ae67d93a2feb8bc3af468b898ba3d28bf7 /test/parser1.test
parent0f0d3ddf71fdb1d231a66b3e05fe991b6df97be2 (diff)
downloadsqlite-6ab91a7a7aed9e7e1d86e63b7c8cfbfa15a27792.tar.gz
sqlite-6ab91a7a7aed9e7e1d86e63b7c8cfbfa15a27792.zip
Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test cases
so that they work with DEFENSIVE enabled. FossilOrigin-Name: 3212733cb6d1a59516d67a86df7c7b1d2456a1b2e5d7080c26b0e87b2609c65d
Diffstat (limited to 'test/parser1.test')
-rw-r--r--test/parser1.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parser1.test b/test/parser1.test
index c708dded1..ad95b4909 100644
--- a/test/parser1.test
+++ b/test/parser1.test
@@ -28,6 +28,7 @@ do_catchsql_test parser1-1.1 {
# COLLATE, ASC, and DESC keywords on the id list of a FK constraint, and that
# those keywords are silently ignored.
#
+sqlite3_db_config db DEFENSIVE 0
do_execsql_test parser1-1.2 {
CREATE TABLE t1(
a TEXT PRIMARY KEY,