Details
-
Bug
-
Status: Stalled (View Workflow)
-
Major
-
Resolution: Unresolved
-
N/A
-
None
-
Can result in hang or crash
Description
CREATE TABLE t1 (j JSON, c VARCHAR(10), i INT); |
INSERT INTO t1 VALUES (NULL,NULL,NULL); |
SELECT j MEMBER OF ('[1]'), c MEMBER OF ('[1]'), i MEMBER OF ('[1]') FROM t1; |
SELECT j MEMBER OF ('[null]'), c MEMBER OF ('[null]'), i MEMBER OF ('[null]') FROM t1; |
DROP TABLE t1; |
|
Server version: 13.1.0-MariaDB-asan-debug-log source revision: 7dbc4bef9e3d3dda83e39065f570d97cb8cca66f
SELECT j MEMBER OF ('[1]'), c MEMBER OF ('[1]'), i MEMBER OF ('[1]') FROM t1;
|
j MEMBER OF ('[1]') c MEMBER OF ('[1]') i MEMBER OF ('[1]')
|
NULL 0 0
|
SELECT j MEMBER OF ('[null]'), c MEMBER OF ('[null]'), i MEMBER OF ('[null]') FROM t1;
|
j MEMBER OF ('[null]') c MEMBER OF ('[null]') i MEMBER OF ('[null]')
|
NULL 1 1
|
JarirBob FYI
Attachments
Issue Links
- is caused by
-
MDEV-38591 MEMBER OF json operator
-
- In Review
-