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

External routines receives parameters with incorrect length or datatype [CORE5526] #5794

Closed
firebird-automations opened this issue Apr 22, 2017 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @asfernandes

- External routine is declared with CHAR(31) CHARACTER SET UTF8 parameter
- External code changes descriptor to VARCHAR(31) CHARACTER SET UTF8

Case 1:

- User calls the routine with a literal '123'
- External code receives a string with byte length 3 instead of 31

Case 2:

- User calls the routine with a parameter bind passing the value '123' as dtype_text
- External code receives a string with byte length 124 instead of 31

Commits: a721bba 7b1b3af

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 4.0 Alpha 1 [ 10731 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

Fix Version: 3.0.3 [ 10810 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Deferred

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