Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
Description
Compare:
MariaDB 10.2 |
MariaDB [test]> SELECT JSON_UNQUOTE('foo'); |
+---------------------+ |
| JSON_UNQUOTE('foo') | |
+---------------------+ |
| NULL | |
+---------------------+ |
1 row in set (0.00 sec) |
MySQL 5.7 |
MySQL [test]> SELECT JSON_UNQUOTE('foo'); |
+---------------------+ |
| JSON_UNQUOTE('foo') | |
+---------------------+ |
| foo |
|
+---------------------+ |
1 row in set (0.00 sec) |
Note: MySQL might be not quite right about it either, as it's supposed to throw an error if the parameter is not a valid JSON document.
Attachments
Issue Links
- relates to
-
MDEV-9143 JSON_xxx functions
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue relates to TODO-873 [ TODO-873 ] |
Description |
Compare:
{code:sql|title=MariaDB 10.2} MariaDB [test]> SELECT JSON_UNQUOTE('foo'); +---------------------+ | JSON_UNQUOTE('foo') | +---------------------+ | NULL | +---------------------+ 1 row in set (0.00 sec) {code} {code:sql|title=MySQL 5.7} MySQL [test]> SELECT JSON_UNQUOTE('foo'); +---------------------+ | JSON_UNQUOTE('foo') | +---------------------+ | foo | +---------------------+ 1 row in set (0.00 sec) {code} |
Compare:
{code:sql|title=MariaDB 10.2} MariaDB [test]> SELECT JSON_UNQUOTE('foo'); +---------------------+ | JSON_UNQUOTE('foo') | +---------------------+ | NULL | +---------------------+ 1 row in set (0.00 sec) {code} {code:sql|title=MySQL 5.7} MySQL [test]> SELECT JSON_UNQUOTE('foo'); +---------------------+ | JSON_UNQUOTE('foo') | +---------------------+ | foo | +---------------------+ 1 row in set (0.00 sec) {code} _Note: MySQL might be not quite right about it either, as it's supposed to throw an error if the parameter is not a valid JSON document._ |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 10.2.3 [ 22115 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 78607 ] | MariaDB v4 [ 151309 ] |
http://lists.askmonty.org/pipermail/commits/2016-December/010211.html