提交 a852e72e authored 作者: Noel Grandin's avatar Noel Grandin

make new script also specify exception error codes

上级 bc93aee3
......@@ -10,7 +10,7 @@ CREATE FORCE TRIGGER T_COUNT BEFORE INSERT ON COUNT CALL "com.Unknown";
> ok
INSERT INTO COUNT VALUES(NULL);
> exception
> exception ERROR_CREATING_TRIGGER_OBJECT_3
DROP TRIGGER T_COUNT;
> ok
......@@ -22,7 +22,7 @@ insert into items values(DEFAULT);
> update count: 1
DROP TABLE COUNT;
> exception
> exception CANNOT_DROP_2
insert into items values(DEFAULT);
> update count: 1
......@@ -47,7 +47,7 @@ CREATE FORCE TRIGGER T_COUNT BEFORE INSERT OR UPDATE ON COUNT CALL "com.Unknown"
> ok
INSERT INTO COUNT VALUES(NULL);
> exception
> exception ERROR_CREATING_TRIGGER_OBJECT_3
UPDATE COUNT SET X=2 WHERE X=1;
> exception
> exception ERROR_CREATING_TRIGGER_OBJECT_3
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论