Bug #117526 | MySQL incorrectly parses JSON strings containing JSON arrays, altering stored JSON format | ||
---|---|---|---|
Submitted: | 20 Feb 5:58 | Modified: | 20 Feb 6:59 |
Reporter: | yu cao | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: JSON | Severity: | S3 (Non-critical) |
Version: | 8.0.28 | OS: | CentOS |
Assigned to: | MySQL Verification Team | CPU Architecture: | x86 |
Tags: | JsonParser |
[20 Feb 5:58]
yu cao
[20 Feb 6:59]
MySQL Verification Team
This is not a bug. \" is a way to escape char in the mysql client, has nothing to do with json. e.g. mysql> select '\"xyz'; +------+ | "xyz | +------+ | "xyz | +------+ 1 row in set (0.00 sec) mysql> If you want to write the escape in the field you have to escape it: mysql> select '\\"xyz'; +-------+ | \"xyz | +-------+ | \"xyz | +-------+ 1 row in set (0.00 sec) mysql> Thank you for using MySQL Server