Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constraint violation error of CAST is not raised inside views [CORE3204] #3578

Closed
firebird-issue-importer opened this issue Oct 30, 2010 · 6 comments

Comments

@firebird-issue-importer

Submitted by: @asfernandes

Is related to QA556

Test case:

create domain d1 integer not null;
select cast(null as d1) from rdb$database; -- error: ok

    CAST 

============
Statement failed, SQLSTATE = 42000
validation error for CAST, value "*** null ***"

create view v1 as select cast(null as d1) x from rdb$database;
select * from v1; -- returns null: not ok

       X 

============
<null>

Commits: e65fd8f

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 30, 2010

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Nov 2, 2010

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 29, 2014

Modified by: @pcisar

Link: This issue is related to QA556 [ QA556 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 28, 2015

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 23, 2015

Commented by: @pcisar

Test created.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 23, 2015

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment