20 lines
285 B
SQL
20 lines
285 B
SQL
# name: test/issues/general/test_4615.test
|
|
# group: [general]
|
|
|
|
statement ok
|
|
pragma enable_verification
|
|
|
|
statement ok
|
|
CREATE TABLE t1 (int AS (x + 100), x INT);
|
|
|
|
statement ok
|
|
INSERT INTO t1 VALUES (1);
|
|
|
|
statement ok
|
|
UPDATE t1 SET x=0 WHERE x = 1;
|
|
|
|
query II
|
|
SELECT * FROM t1;
|
|
----
|
|
100 0
|