SQLite
View Ticket
Not logged in
Ticket UUID: 28c6e830f239ea539bfa20cb5901ed496b199a2f
Title: Segfault while parsing/compiling an SQL statement
Status: Fixed Type: Code_Defect
Severity: Severe Priority: Immediate
Subsystem: Unknown Resolution: Fixed
Last Modified: 2013-04-30 14:07:07
Version Found In: 3.7.16.2
User Comments:
drh added on 2013-04-30 13:26:47:

The following SQL generates either a SEGFAULT or an assertion failure (depending on compile-time options):

CREATE TABLE t1(x);
SELECT * FROM ((SELECT x FROM t1)) AS y;

This problem was traced to check-in 7fecced466d86a66 which was part of version 3.7.16.