Details
Description
Hi,
I found that the same boolean expression does not have an identical result in view and JSON_OBJECT. This is an example:
CREATE VIEW v AS SELECT 1=1 AS b1; |
SELECT JSON_OBJECT('x', b1) = (SELECT JSON_OBJECT('x', (SELECT 1=1))) FROM v; -- 0, expecte 1 |