mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-25457 Server crashes in row_undo_mod_clust_low upon rollback of read-only transaction
node->index was NULL. But it's possible to get dict_table_t* from another source.
This commit is contained in:
@ -754,3 +754,8 @@ COUNT(*)
|
||||
INSERT INTO t VALUES (0);
|
||||
SET SESSION tx_read_only=OFF;
|
||||
DROP TABLE t;
|
||||
CREATE TEMPORARY TABLE t (a INT) ENGINE=InnoDB;
|
||||
INSERT INTO t VALUES (1);
|
||||
START TRANSACTION READ ONLY;
|
||||
UPDATE t SET a = NULL;
|
||||
ROLLBACK;
|
||||
|
Reference in New Issue
Block a user