summaryrefslogtreecommitdiff
path: root/storage/innodb_plugin/mysql-test/innodb_bug34300.test
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innodb_plugin/mysql-test/innodb_bug34300.test')
-rw-r--r--storage/innodb_plugin/mysql-test/innodb_bug34300.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/innodb_plugin/mysql-test/innodb_bug34300.test b/storage/innodb_plugin/mysql-test/innodb_bug34300.test
index 114bcf98c25..68c385fd72a 100644
--- a/storage/innodb_plugin/mysql-test/innodb_bug34300.test
+++ b/storage/innodb_plugin/mysql-test/innodb_bug34300.test
@@ -9,6 +9,7 @@
-- disable_result_log
# set packet size and reconnect
+let $max_packet=`select @@global.max_allowed_packet`;
SET @@global.max_allowed_packet=16777216;
--connect (newconn, localhost, root,,)
@@ -30,3 +31,4 @@ ALTER TABLE bug34300 ADD COLUMN (f10 INT);
SELECT f4, f8 FROM bug34300;
DROP TABLE bug34300;
+EVAL SET @@global.max_allowed_packet=$max_packet;