summaryrefslogtreecommitdiffstats
path: root/test/default.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/default.test')
-rw-r--r--test/default.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/default.test b/test/default.test
index 06a180c..de67f64 100644
--- a/test/default.test
+++ b/test/default.test
@@ -136,5 +136,9 @@ do_catchsql_test default-5.1 {
CREATE TABLE t1 (a,b DEFAULT(random() NOTNULL IN (RAISE(IGNORE),2,3)));
INSERT INTO t1(a) VALUES(1);
} {1 {RAISE() may only be used within a trigger-program}}
+do_catchsql_test default-5.2 {
+ CREATE TABLE Table0 (Col0 DEFAULT (RAISE(IGNORE) ) ) ;
+ INSERT INTO Table0 DEFAULT VALUES ;
+} {1 {RAISE() may only be used within a trigger-program}}
finish_test