Details
Description
Hi,
The following test case can trigger an OOM:
SELECT
|
JSON_EXTRACT(
|
CONVERT(0x7B2261223A22D4D4227D USING cp1251), |
'$.a' |
) = CONVERT(0xD4D4 USING cp1251) |
;
|
This is the output:
ERROR 1037 (HY001) at line 5: Out of memory; restart server and try again (needed 2 bytes)
|
I can reproduce this with the commit version f6e44c1b7819f9befa3824f07866822288231528 of MariaDB server in github repo.
Attachments
Issue Links
- relates to
-
MDEV-34173 Some JSON functions print the output as NULL/incorrect when character-sets is set with mbminlen > 1
-
- Confirmed
-