Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.6, 10.2(EOL)
-
Ubuntu 16.04 and Debian 8
Description
JSON_OBJECT seems to return NULL when one of its arguments is a string containing one or more backticks. This can be reproduced with:
SELECT JSON_OBJECT('foo', '`') |
or
SELECT JSON_OBJECT("foo", "bar`bar") |
or
SELECT JSON_OBJECT('`', 'foo') |