mirror of
https://github.com/MariaDB/server.git
synced 2025-02-05 13:22:17 +01:00
4c16ec3e77
In any test that uses wait_all_purged.inc, ensure that InnoDB tables
will be created without persistent statistics.
This is a follow-up to commit cd04673a17
after a similar failure was observed in the innodb_zip.blob test.
25 lines
781 B
Text
25 lines
781 B
Text
--source include/innodb_page_size_small.inc
|
|
|
|
--echo #
|
|
--echo # MDEV-21259 Assertion 'w != NORMAL || mach_read_from_4(ptr) != val'
|
|
--echo # failed in mtr_t::write(), btr_free_externally_stored_field()
|
|
--echo #
|
|
|
|
CREATE TABLE t1 (c TEXT, f2 INT PRIMARY KEY, f3 INT UNIQUE)
|
|
ENGINE=InnoDB STATS_PERSISTENT=0 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4;
|
|
|
|
SET @level= @@GLOBAL.innodb_compression_level;
|
|
SET GLOBAL innodb_compression_level=0;
|
|
--connect (prevent_purge,localhost,root)
|
|
START TRANSACTION WITH CONSISTENT SNAPSHOT;
|
|
|
|
--connection default
|
|
INSERT INTO t1 VALUES('a',1,0);
|
|
UPDATE t1 SET c= REPEAT('a b ',4096);
|
|
REPLACE INTO t1 SELECT * FROM t1;
|
|
|
|
--disconnect prevent_purge
|
|
--source ../../innodb/include/wait_all_purged.inc
|
|
|
|
DROP TABLE t1;
|
|
SET GLOBAL innodb_compression_level = @level;
|