SQLite

View Ticket
Login
Ticket Hash: 7a5279a25c57adf100d5480b237802cc971d9586
Title: Segfault in sqlite3ExprCodeTarget
Status: Fixed Type: Code_Defect
Severity: Important Priority: Low
Subsystem: Unknown Resolution: Fixed
Last Modified: 2020-05-24 03:39:26
Version Found In:
User Comments:
yongheng added on 2020-05-23 17:53:27:
Affect latest release version

POC:
---
CREATE TABLE a(c UNIQUE);
SELECT a.c FROM a JOIN a b ON 3 = a.c NATURAL JOIN a WHERE a.c IN((SELECT(SELECT coalesce(lead(2) OVER(), SUM(c))) FROM a d WHERE a.c));
---