Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.9(EOL)
-
None
Description
In test:
SELECT JSON_OVERLAPS('','');
|
Expected result:
SELECT JSON_OVERLAPS('','');
|
JSON_OVERLAPS('','')
|
0
|
Warnings:
|
Warning 4037 Unexpected end of JSON text in argument 1 to function 'json_overlaps'
|
Actual result:
SELECT JSON_OVERLAPS('','');
|
JSON_OVERLAPS('','')
|
1
|
Warnings:
|
Warning 4037 Unexpected end of JSON text in argument 1 to function 'json_overlaps'
|
The result is a warning and 1 (true),but I expect 0 or may be 'null', because we cannot compare this two objects
Attachments
Issue Links
- relates to
-
MDEV-27677 Implement JSON_OVERLAPS()
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
In test:
{code} SELECT JSON_OVERLAPS('',''); {code} *Expected result:* {code} SELECT JSON_OVERLAPS('',''); JSON_OVERLAPS('','') 0 Warnings: Warning 4037 Unexpected end of JSON text in argument 1 to function 'json_overlaps' {code} *Actual result:* {code} SELECT JSON_OVERLAPS('',''); JSON_OVERLAPS('','') 1 Warnings: Warning 4037 Unexpected end of JSON text in argument 1 to function 'json_overlaps' {code} The result is a warning and 1 (true),but I expect 0 or may be 'null'. |
In test:
{code} SELECT JSON_OVERLAPS('',''); {code} *Expected result:* {code} SELECT JSON_OVERLAPS('',''); JSON_OVERLAPS('','') 0 Warnings: Warning 4037 Unexpected end of JSON text in argument 1 to function 'json_overlaps' {code} *Actual result:* {code} SELECT JSON_OVERLAPS('',''); JSON_OVERLAPS('','') 1 Warnings: Warning 4037 Unexpected end of JSON text in argument 1 to function 'json_overlaps' {code} The result is a warning and 1 (true),but I expect 0 or may be 'null', because we cannot compare this two objects |
Summary | Incorrect behavior ща JSON_OVERLAPS() on warning | Incorrect behavior of JSON_OVERLAPS() on warning |
Link |
This issue relates to |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Rucha Deodhar [ rucha174 ] | Alexey Botchkov [ holyfoot ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Alexey Botchkov [ holyfoot ] | Rucha Deodhar [ rucha174 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.9.0 [ 27113 ] | |
Fix Version/s | 10.9 [ 26905 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Patch: https://github.com/MariaDB/server/commit/b1f19f6ccc68d1cf097c46e6dec5d25e538221c2