Fix upward propagation of expression properties into row-value expressions.

[forum:/info/8387cc287240643e|Forum post 8387cc287240643e].

FossilOrigin-Name: 0372dd717b852da8dc2c6b0ff2da02a2ac25bc0486a38e4c2a970694d897b6c9
This commit is contained in:
drh
2026-05-09 13:54:40 +00:00
parent 993bc6b171
commit 2c8f97159c
4 changed files with 26 additions and 10 deletions
+14
View File
@@ -854,5 +854,19 @@ do_execsql_test 35.1 {
SELECT (1, 'a') IN (SELECT c2, c1 from t1);
} 1
# Forum post 2026-05-09T07:55:45Z
#
do_execsql_test 36.0 {
DROP TABLE t1;
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(1),(2),(3);
SELECT (1,2,3,max(x)) IN () FROM t1;
} 0
do_execsql_test 36.1 {
SELECT (1,2,max(x),3) IN () FROM t1;
} 0
do_execsql_test 36.2 {
SELECT (max(x),1,23) IN () FROM t1;
} 0
finish_test