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

Parameter order is wrong [CORE437] #784

Closed
firebird-automations opened this issue Aug 20, 2002 · 2 comments
Closed

Parameter order is wrong [CORE437] #784

firebird-automations opened this issue Aug 20, 2002 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @samofatov

Assigned to: @samofatov

SFID: 597769#⁠
Submitted By: skidder

I use Firebird-1.0.0.796 CS on Linux.

I hope this bug will not be ignored as my previous ones.

Parameter introduced in the select list come after all other
params in dynamic SQL.
Example query:
---
select (select 'ok' from RDB$DATABASE where :test=1)
from RDB$DATABASE where :test2=2
---
When we set
:test=1
:test2=2
we get null result.

When we set
:test=2
:test2=1
we get 'ok' result

We reproduced this bug on using InterClient, JCA and IBX,
so it seems to be in the core engine.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 10461 ] => Firebird [ 14749 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

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