summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite/src/test/fkey1.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/sqlite/src/test/fkey1.test')
-rw-r--r--third_party/sqlite/src/test/fkey1.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/third_party/sqlite/src/test/fkey1.test b/third_party/sqlite/src/test/fkey1.test
index e7c00d1..8a4fb70 100644
--- a/third_party/sqlite/src/test/fkey1.test
+++ b/third_party/sqlite/src/test/fkey1.test
@@ -46,7 +46,7 @@ do_test fkey1-1.1 {
do_test fkey1-1.2 {
execsql {
CREATE TABLE t3(
- a INTEGER REFERENCES t2,
+ a INTEGER REFERENCES t2 ON INSERT RESTRICT,
b INTEGER REFERENCES t1,
FOREIGN KEY (a,b) REFERENCES t2(x,y)
);
@@ -80,9 +80,9 @@ do_test fkey1-3.1 {
);
PRAGMA foreign_key_list(t6);
}
-} [concat \
- {0 0 t5 e c {NO ACTION} {NO ACTION} NONE} \
- {1 0 t5 d {} {NO ACTION} {NO ACTION} NONE} \
+} [concat \
+ {0 0 t5 e c RESTRICT RESTRICT NONE} \
+ {1 0 t5 d {} RESTRICT RESTRICT NONE} \
]
do_test fkey1-3.2 {
execsql {
@@ -91,9 +91,9 @@ do_test fkey1-3.2 {
);
PRAGMA foreign_key_list(t7);
}
-} [concat \
- {0 0 t5 d a {NO ACTION} {NO ACTION} NONE} \
- {0 1 t5 e b {NO ACTION} {NO ACTION} NONE} \
+} [concat \
+ {0 0 t5 d a RESTRICT RESTRICT NONE} \
+ {0 1 t5 e b RESTRICT RESTRICT NONE} \
]
do_test fkey1-3.3 {
execsql {