2
# Bug#34300 Tinyblob & tinytext fields currupted after export/import and alter in 5.1
3
# http://bugs.mysql.com/34300
6
-- source include/have_innodb_plugin.inc
11
# set packet size and reconnect
12
let $max_packet=`select @@global.max_allowed_packet`;
13
SET @@global.max_allowed_packet=16777216;
14
--connect (newconn, localhost, root,,)
16
DROP TABLE IF EXISTS bug34300;
17
CREATE TABLE bug34300 (
23
INSERT INTO bug34300 VALUES ('xxx', repeat('a', 8459264), 'zzz');
27
SELECT f4, f8 FROM bug34300;
29
ALTER TABLE bug34300 ADD COLUMN (f10 INT);
31
SELECT f4, f8 FROM bug34300;
34
EVAL SET @@global.max_allowed_packet=$max_packet;