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

Table columns hide destination variables of RETURNING INTO [CORE1256] #703

Closed
firebird-automations opened this issue May 13, 2007 · 10 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

Is related to QA146

SQL> create table t (n integer)!
SQL>
SQL> -- ok
SQL> execute block returns (n integer)
CON> as
CON> begin
CON> insert into t values (1) returning n into :n;
CON> suspend;
CON> end!

       N

============
1

SQL> -- not ok
SQL> execute block returns (n integer)
CON> as
CON> begin
CON> insert into t values (1) returning n into n;
CON> suspend;
CON> end!

       N

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

Commits: bf89534

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA146 [ QA146 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Version: 2.0.2 [ 10130 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

I have created a test according to your specification, but I can't reproduce the bug with 2.0.1 and 2.1 Alpha 1. They return 1 like 2.1 Beta 1. I can't close it until we'll clarify it as either test case or Affected version definition is wrong.

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Because you wrote the test using the first statement (into :n)...
The incorrect is the second (into n).

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

Fix verified for 2.1 Beta 1, test added.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Workflow: jira [ 12090 ] => Firebird [ 15566 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test => Done successfully

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