/ View Ticket
Login
Ticket UUID: 2f1b168ab4d484420f129e541ddccff8c170042e
Title: Crash following syntax error on DETACH
Status: Fixed Type: Code_Defect
Severity: Severe Priority: Immediate
Subsystem: Unknown Resolution: Fixed
Last Modified: 2016-11-11 03:40:01
Version Found In: 3.15.1
User Comments:
drh added on 2016-11-11 03:36:03:

The following (syntactically incorrect) statement causes a NULL pointer deference in SQLite 3.15.1:

DETACH x IS #1;

The problem was introduced by parser changes associated with the introduction of the row-value logic in check-in [ddb5f0558c445699] on 2016-09-07. The problem first appeared in SQLite 3.15.0.