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

Param Datatype detection wrong, if coalesce used [CORE6299] #6541

Open
firebird-automations opened this issue May 7, 2020 · 2 comments
Open

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Jan Kohlmeyer (colaflasche)

Hi,
i've this statement in 3.0.4 and 3.0.5.

In 3.0.4 the param datatype is char(4) in 3.0.5 the param datatype is char(0):

select coalesce(:test, '') between '0815' and '4700' from rdb$database

If i remove the coalesce, the datatype is in both char(4):

select :test between '0815' and '4700' from rdb$database

Regards, Jan

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

security: Developers [ 10012 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Looks as a duplicate for CORE6187.

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

1 participant