Skip to content

LPAD failed returning Message length error (Encountered 2, expected 65538) [CORE5290] #5568

Open
@firebird-automations

Description

@firebird-automations

Submitted by: Fabrice (fabinfo)

Attachments:
c5290-test.7z
de0.7z

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions