From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/suite/innodb/r/innodb_bug34300.result | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 mysql-test/suite/innodb/r/innodb_bug34300.result (limited to 'mysql-test/suite/innodb/r/innodb_bug34300.result') diff --git a/mysql-test/suite/innodb/r/innodb_bug34300.result b/mysql-test/suite/innodb/r/innodb_bug34300.result new file mode 100644 index 00000000..96dd8d0e --- /dev/null +++ b/mysql-test/suite/innodb/r/innodb_bug34300.result @@ -0,0 +1,20 @@ +# +# Bug#34300 Tinyblob & tinytext fields corrupted after export/import and alter in 5.1 +# +SET @@global.max_allowed_packet=16777216; +connect newconn, localhost, root,,; +CREATE TABLE bug34300 ( +f4 TINYTEXT, +f6 MEDIUMTEXT, +f8 TINYBLOB +) ENGINE=InnoDB; +INSERT INTO bug34300 VALUES ('xxx', repeat('a', 8459264), 'zzz'); +SELECT f4, f8 FROM bug34300; +f4 f8 +xxx zzz +ALTER TABLE bug34300 ADD COLUMN (f10 INT); +SELECT f4, f8 FROM bug34300; +f4 f8 +xxx zzz +# Cleanup +DROP TABLE bug34300; -- cgit v1.2.3