mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-36771 Assertion 'bulk_insert == TRX_NO_BULK' failed in trx_t::assert_freed
- InnoDB fails to reset bulk_insert of a transaction while freeing the transaction during shutting down of a server.
This commit is contained in:
@@ -580,4 +580,20 @@ WHERE variable_name = 'innodb_bulk_operations';
|
||||
bulk_operations
|
||||
1
|
||||
DROP TABLE t1;
|
||||
call mtr.add_suppression("Found 1 prepared XA transactions");
|
||||
#
|
||||
# MDEV-36771 Assertion `bulk_insert == TRX_NO_BULK' failed
|
||||
# in trx_t::assert_freed from innodb_shutdown
|
||||
#
|
||||
CREATE TABLE t1(f1 INT)ENGINE=InnoDB;
|
||||
XA START 'a';
|
||||
INSERT INTO t1 VALUES(1);
|
||||
XA END 'a';
|
||||
XA PREPARE 'a';
|
||||
# restart
|
||||
XA COMMIT 'a';
|
||||
SELECT * FROM t1;
|
||||
f1
|
||||
1
|
||||
DROP TABLE t1;
|
||||
# End of 10.11 tests
|
||||
|
Reference in New Issue
Block a user