The newly enhanced ALTER TABLE in SQLite 3.25.0 hits an assertion fault when
there are operations on an rtree virtual table in the body of the trigger.

<blockquote><verbatim>
CREATE TABLE t1(a INTEGER PRIMARY KEY, b);
CREATE VIRTUAL TABLE t2 USING rtree(id,x0,x1);
CREATE TRIGGER r1 AFTER UPDATE ON t1 BEGIN
   DELETE FROM t2 WHERE id = OLD.a;
END;
ALTER TABLE t1 RENAME TO t3;