Varchar length limit is not enforced when assigning string with trailing spaces 
in MBCS
---------------------------------------------------------------------------------------

                 Key: CORE-6310
                 URL: http://tracker.firebirdsql.org/browse/CORE-6310
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 4.0 Beta 2, 3.0.5
            Reporter: Adriano dos Santos Fernandes


Test case:

select char_length(cast(_utf8 '123         ' as varchar(5) character set utf8)) 
from rdb$database;

Returns 12 instead of 5.

-- 
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

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to