mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-02-02 02:40:42 +01:00
Added/Updated tests\bugs\core_1907_test.py: Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc).
This commit is contained in:
parent
16345b99b7
commit
29dc60998c
@ -7,6 +7,9 @@ TITLE: Dropping and adding a domain constraint in the same transaction lea
|
|||||||
DESCRIPTION:
|
DESCRIPTION:
|
||||||
JIRA: CORE-1907
|
JIRA: CORE-1907
|
||||||
FBTEST: bugs.core_1907
|
FBTEST: bugs.core_1907
|
||||||
|
NOTES:
|
||||||
|
[25.11.2023] pzotov
|
||||||
|
Writing code requires more care since 6.0.0.150: ISQL does not allow specifying duplicate delimiters without any statements between them (two semicolon, two carets etc).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
@ -23,7 +26,7 @@ db = db_factory(init=init_script)
|
|||||||
test_script = """set autoddl off;
|
test_script = """set autoddl off;
|
||||||
|
|
||||||
alter domain d1 drop constraint;
|
alter domain d1 drop constraint;
|
||||||
alter domain d1 add constraint check (value = (select n from t2));;
|
alter domain d1 add constraint check (value = (select n from t2));
|
||||||
commit;
|
commit;
|
||||||
|
|
||||||
drop table t1; -- cannot drop - there are dependencies
|
drop table t1; -- cannot drop - there are dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user