External routines receives parameters with incorrect length or datatype
-----------------------------------------------------------------------

                 Key: CORE-5526
                 URL: http://tracker.firebirdsql.org/browse/CORE-5526
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library, Engine
    Affects Versions: 3.0.2, 4.0 Initial
            Reporter: Adriano dos Santos Fernandes


- 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to