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

Wrong processing a SP parameters with arrays [CORE2516] #2926

Closed
firebird-automations opened this issue Jun 18, 2009 · 17 comments
Closed

Wrong processing a SP parameters with arrays [CORE2516] #2926

firebird-automations opened this issue Jun 18, 2009 · 17 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @ibprovider

Is related to CORE710
Is related to QA405

Server processes the parameters with arrays as simple parameters.

Metadata:

create domain t_smallint_array
as
smallint [0:2];

create procedure sp_smallint_array(x t_smallint_array)
returns (y t_smallint_array)
as
begin
y=x;
suspend;
end;

---
Query

"select * from sp_smallint_array(1)"

works without any errors and returns SMALLINT(1)

Commits: a01096b

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Sean Leyne (seanleyne)

The lack of support for Arrays in Stored Procedures is a well-known deficiency which has was logged a long time ago.

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

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

resolution: Duplicate [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

Link: This issue duplicates CORE710 [ CORE710 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Does the logged entry talk about domains?

I've assigned it to me just to reject these cases...

@firebird-automations
Copy link
Collaborator Author

Commented by: @ibprovider

Sean, the CORE710 - about new feature,

My report about current wrong behaviour of engine.

I can create the parameters with array datatypes. But server can't right work with these parameters.

So, I think, need or prevent uses of parameters with arrays, or fix this work with arrays :-)

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

Reopened to let Adriano to resolve this ticket properly (supposedly, to reject array-based domains in procedure parameters?)

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Closed [ 6 ] => Reopened [ 4 ]

resolution: Duplicate [ 3 ] =>

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Yes, rejecting attempts of usage of domains and TYPE OF COLUMN if the domain is an array.

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 2.5 RC1 [ 10300 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

Link: This issue duplicates CORE710 [ CORE710 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: Sean Leyne (seanleyne)

Link: This issue is related to CORE710 [ CORE710 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

Link: This issue is related to QA405 [ QA405 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @pcisar

QA test added.

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: Done successfully

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