LPAD failed returning Message length error (Encountered 2, expected 65538)
--------------------------------------------------------------------------

                 Key: CORE-5290
                 URL: http://tracker.firebirdsql.org/browse/CORE-5290
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 3.0.0
         Environment: Firebird 3.0 64 bits Superserver, Windows 10 64 bits
Database in  Dialect 1 charset = none
            Reporter: Fabrice
            Priority: Blocker


Script :
CREATE TABLE testlpad
(
 t_key integer not null,
 t_value integer,
 primary key( t_key)
);
COMMIT;
insert into testlpad
(t_key,t_value)
values (0,1);
insert into testlpad
(t_key,t_value)
values (1,2);
insert into testlpad
(t_key,t_value)
values (2,3);
COMMIT;


This query will : 
SELECT   lpad('', t_value,'-') 
from testlpad

failed with error  "Message length error (Encountered 2, expected 65538)"





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

        

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to