mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-27204: [ERROR] Json_writer: a member name was expected, Assertion `got_name
[Adjusting Sergei Krivonos's patch] "duplicates_removal" may contain multiple elements inside it and so should have a JSON array as a value (and not object).
This commit is contained in:
@ -419,3 +419,13 @@ explain format=json select * from t1 order by a desc, b desc;
|
||||
explain format=json select * from t1 order by a desc, b ;
|
||||
drop table t1;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-27204: [ERROR] Json_writer: a member name was expected, Assertion `got_name == named_item_expected()' failed
|
||||
--echo #
|
||||
|
||||
CREATE TABLE t1 (a INT);
|
||||
INSERT INTO t1 VALUES (1),(2);
|
||||
explain FORMAT=JSON
|
||||
SELECT * FROM t1 t0
|
||||
WHERE t0.a IN (SELECT t2.a FROM t1 t2 WHERE t0.a IN (SELECT t3.a FROM t1 t3));
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user