RIGHT() fails with multibyte text blobs > 1024 chars [CORE3228] #1283
Submitted by: @paulvink
Is related to QA282
This code, calling RIGHT() on a 1024-char UTF8 blob:
returns 'ZZZ' (OK)
If I make it a 1025-char blob:
the result is
With CHAR type UTF8 strings, this error doesn't happen.
With single-byte charsets, RIGHT() works correctly with text blobs of any size (also > 32K).
LEFT() does not have this bug, and functions correctly with multi-byte charset text blobs of any size.
The text was updated successfully, but these errors were encountered: