SQLite

View Ticket
Login
Ticket Hash: 2399f5986134f79c48dc8423aa1b0381546f4944
Title: REPLACE on table with generated NOT NULL column results in segfault
Status: Fixed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Unknown Resolution: Fixed
Last Modified: 2019-11-06 14:50:01
Version Found In: 3.30.0
User Comments:
mrigger added on 2019-11-05 22:31:26:

The following testcase causes a segfault:

CREATE TABLE t0(c0 NOT NULL AS(c1), c1);
REPLACE INTO t0(c1) VALUES(NULL); -- Segmentation fault