Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.3(EOL), 10.4(EOL)
Description
CREATE TABLE t1 (a INT); |
CREATE PROCEDURE sp() SELECT * FROM t1 FOR SYSTEM_TIME ALL; |
--error ER_VERS_NOT_VERSIONED
|
CALL sp;
|
--error ER_VERS_NOT_VERSIONED
|
CALL sp;
|
 |
# Cleanup
|
DROP TABLE t1; |
DROP PROCEDURE sp; |
10.3 69b33fca |
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.
Attachments
Issue Links
- is duplicated by
-
MDEV-20497 Server crashes in Item_field::used_tables upon 2nd execution of SP with UPDATE on app-versioned table
- Closed
-
MDEV-21144 Wrong result or server crash in Item_field::used_tables upon 2nd execution of SP with non-existent period
- Closed
- relates to
-
MDEV-20691 Server crashes in TABLE::insert_portion_of_time upon DELETE FOR PORTION via trigger
- Closed
-
MDEV-19014 pure virtual method called, SIGSEGV, ASAN heap-use-after-free in Item_direct_view_ref::fix_fields
- Closed