Skip to content

Silent truncation of user-provided data of type SQL_TEXT #8565

Open
@aafemt

Description

@aafemt

This is an initial architectural problem which surfaced after apply #8145.

For multibyte encodings engine validates data in input message limiting it to a supposed character length dsc_length / BPC. If an user has provided in the message metadata the real data length, this data gets truncated without even a warning.

Testcase is attached.

ctest.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions