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

Parameters inside the CAST function are described as not nullable [CORE3475] #3836

Closed
firebird-issue-importer opened this issue May 12, 2011 · 4 comments

Comments

@firebird-issue-importer

Submitted by: @dyemanov

Relate to JDBC271

ISQL:

set planonly;
set sqlda_display;

select (null as int) from rdb$database;
-- sqltype = 497 (nullable)

select (? as int) from rdb$database;
-- sqltype = 496 (not null)

It may cause wrong results (e.g. zero instead of null) returned by applications hardly relying on the described nullability flag and ignoring the runtime one.

Commits: dd0047e

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 27, 2011

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Aug 29, 2012

Modified by: @mrotteveel

Link: This issue relate to JDBC271 [ JDBC271 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 27, 2015

Modified by: @pavel-zotov

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

QA Status: Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 14, 2015

Modified by: @pavel-zotov

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

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