SQLite

View Ticket
Login
Ticket Hash: 299b50ba812d8e54d446d5a14d9daeac472e72e4
Title: UPDATE on table with two generated columns and CHECK clause results in segfault
Status: Fixed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Unknown Resolution: Fixed
Last Modified: 2019-11-07 02:33:14
Version Found In: 3.30.0
User Comments:
mrigger added on 2019-11-06 23:10:53:

The following test case results in a segfault:

CREATE TABLE t0(c0, c1 AS(c0 + c2), c2 AS(c1) CHECK(c2));
UPDATE t0 SET c0 = NULL; -- Segmentation fault