diff options
Diffstat (limited to 'mysql-test/main/alter_table.test')
-rw-r--r-- | mysql-test/main/alter_table.test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/main/alter_table.test b/mysql-test/main/alter_table.test index 5c29dfae6b3..dc6983da38b 100644 --- a/mysql-test/main/alter_table.test +++ b/mysql-test/main/alter_table.test @@ -6,6 +6,7 @@ drop table if exists t1,t2; drop database if exists mysqltest; --enable_warnings +set @save_max_allowed_packet=@@global.max_allowed_packet; create table t1 ( col1 int not null auto_increment primary key, @@ -1340,7 +1341,7 @@ SELECT LENGTH(my_t3_fld1) FROM t3; DROP TABLE t1, t2, t3; SET SQL_MODE=default; -SET GLOBAL max_allowed_packet=default; +SET GLOBAL max_allowed_packet=@save_max_allowed_packet; # # Test of ALTER TABLE IF [NOT] EXISTS |