1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-19670 json escaped unicode parse error.

Fixed 4-byte length characters handled incorrectly.
This commit is contained in:
Alexey Botchkov
2019-09-12 11:12:55 +04:00
parent 0fa5ad3acf
commit 9554ef0678
3 changed files with 19 additions and 1 deletions

View File

@ -561,6 +561,13 @@ SELECT
--enable_ps_protocol
--disable_metadata
--echo #
--echo # MDEV-19670 json escaped unicode parse error
--echo #
SELECT json_valid('{"value":"\\ud83d\\ude0a"}');
SELECT json_valid('{"test": "\\ud83d\\ude0b"}');
--echo #
--echo # End of 10.3 tests
--echo #