diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2021-10-11 15:05:44 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2021-10-11 15:05:44 +0400 |
commit | 42968ae75e7cd0763a2a2cbcce4ea99faaf27351 (patch) | |
tree | 88e0bfd84888783a2803068f21d4e16e0f2616ee /mysql-test/t/func_json.test | |
parent | 3690c549c6e72646ba74f6b4c83813ee4ac3aea4 (diff) | |
download | mariadb-git-bb-mdev-24585-hf.tar.gz |
MDEV-24585 Assertion `je->s.cs == nice_js->charset()' failed in json_nice.bb-mdev-24585-hf
We should set the charset in
Item_func_json_format::fix_length_and_dec().
Diffstat (limited to 'mysql-test/t/func_json.test')
-rw-r--r-- | mysql-test/t/func_json.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/func_json.test b/mysql-test/t/func_json.test index 805e9954b81..e4e093225f8 100644 --- a/mysql-test/t/func_json.test +++ b/mysql-test/t/func_json.test @@ -555,5 +555,11 @@ SELECT --echo # +--echo # MDEV-24585 Assertion `je->s.cs == nice_js->charset()' failed in json_nice. +--echo # + +SELECT JSON_REPLACE( JSON_DETAILED('["x"]'), '$.a', 'xx' ); + +--echo # --echo # End of 10.2 tests --echo # |