CREATE TABLE t1 (a INT);
CREATE PROCEDURE sp() SELECT * FROM t1 FOR SYSTEM_TIME ALL;
DROP TABLE t1;
DROP PROCEDURE sp;
mysqltest: At line 6: query 'CALL sp' succeeded - should have failed with errno 4124...
Same with DELETE HISTORY. As a side-effect, the 2nd execution is written into the binary log and breaks replication.
Server crashes in Item_field::used_tables upon 2nd execution of SP with UPDATE on app-versioned table
Wrong result or server crash in Item_field::used_tables upon 2nd execution of SP with non-existent period
Server crashes in TABLE::insert_portion_of_time upon DELETE FOR PORTION via trigger