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

Problem with casting within UNION [CORE6087] #6337

Closed
firebird-issue-importer opened this issue Jun 18, 2019 · 7 comments
Closed

Problem with casting within UNION [CORE6087] #6337

firebird-issue-importer opened this issue Jun 18, 2019 · 7 comments

Comments

@firebird-issue-importer

Submitted by: Eugene Shavluk (shavluk)

This query returns 0.1234 in first row, but should be return 0

select cast(0.1234 as int) from rdb$database
union all
select cast(0.1234 as numeric(18,4)) from rdb$database

Commits: e98f05f dbed249

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 19, 2019

Modified by: Eugene Shavluk (shavluk)

security: Developers [ 10012 ] =>

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 19, 2019

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 19, 2019

Modified by: @asfernandes

summary: Problem with casting => Problem with casting within UNION

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 19, 2019

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 4.0 Beta 2 [ 10888 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 21, 2019

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 21, 2019

Modified by: @pavel-zotov

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

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Sep 3, 2019

Modified by: @asfernandes

Fix Version: 3.0.5 [ 10885 ]

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

No branches or pull requests

2 participants