SQLite Forum

Crash when a RETURNING clause refers to a table in UPDATE FROM
Login
Any use of <i>tablename</i><b>.*</b> in a RETURNING clause seems to cause
the problem.  Simplified test case:

> ~~~
CREATE TABLE t1(x);
INSERT INTO t1 VALUES(0) RETURNING t1.*;
~~~

There is a ticket at <https://sqlite.org/src/tktview/132994c8b1063b>.  There
will be a fix called version 3.35.4.  Version 3.35.4 will also fix a problem
in the new query planner optimization described as "8b" in the [changelog][1].
The optimizer problem was discovered earlier today.

[1]: https://www.sqlite.org/releaselog/3_35_3.html