summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb_zip/r/blob.result
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
commit3f619478f796eddbba6e39502fe941b285dd97b1 (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/suite/innodb_zip/r/blob.result
parentInitial commit. (diff)
downloadmariadb-upstream.tar.xz
mariadb-upstream.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/suite/innodb_zip/r/blob.result')
-rw-r--r--mysql-test/suite/innodb_zip/r/blob.result18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb_zip/r/blob.result b/mysql-test/suite/innodb_zip/r/blob.result
new file mode 100644
index 00000000..df3a49ed
--- /dev/null
+++ b/mysql-test/suite/innodb_zip/r/blob.result
@@ -0,0 +1,18 @@
+#
+# MDEV-21259 Assertion 'w != NORMAL || mach_read_from_4(ptr) != val'
+# failed in mtr_t::write(), btr_free_externally_stored_field()
+#
+CREATE TABLE t1 (c TEXT, f2 INT PRIMARY KEY, f3 INT UNIQUE)
+ENGINE=InnoDB 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;
+InnoDB 0 transactions not purged
+DROP TABLE t1;
+SET GLOBAL innodb_compression_level = @level;