Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Duplicate
-
10.11.5
-
None
Description
CREATE TABLE `test` (
`ID` smallint(4) unsigned zerofill NOT NULL AUTO_INCREMENT
)
SELECT JSON_OBJECT('ID',ID) FROM test
An example Output would be
{ID: 0001}, which does not seem to be a valid JSON-String. Maybe it would be possible to treat zerofill as a String?
Attachments
Issue Links
- duplicates
-
MDEV-30962 JSON_OBJECT function generates "malformed" JSON with ZEROFILL type
- Confirmed