diff options
Diffstat (limited to 'mysql-test/suite/innodb/r/innodb_bug34300.result')
-rw-r--r-- | mysql-test/suite/innodb/r/innodb_bug34300.result | 20 |
1 files changed, 20 insertions, 0 deletions
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; |