summaryrefslogtreecommitdiff
path: root/mysql-test/main/func_weight_string.test
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2019-09-02 14:06:56 +0300
committerMonty <monty@mariadb.org>2019-09-03 13:17:32 +0300
commita071e0e029cd7c155cff1054d9f7f8a6aa898620 (patch)
treeb592c10cb8ca3036688ea19039208eadd485fe7c /mysql-test/main/func_weight_string.test
parentb0ff5a6a7393c057cd201aff63279e45d3e0cc49 (diff)
parent9cba6c5aa3b15fffc0ca10e92bcb55a126a20701 (diff)
downloadmariadb-git-a071e0e029cd7c155cff1054d9f7f8a6aa898620.tar.gz
Merge branch '10.2' into 10.3
Diffstat (limited to 'mysql-test/main/func_weight_string.test')
-rw-r--r--mysql-test/main/func_weight_string.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/main/func_weight_string.test b/mysql-test/main/func_weight_string.test
index b376b996556..528aa5d4f0f 100644
--- a/mysql-test/main/func_weight_string.test
+++ b/mysql-test/main/func_weight_string.test
@@ -2,7 +2,7 @@
drop table if exists t1;
--enable_warnings
-
+set @save_max_allowed_packet=@@max_allowed_packet;
set global max_allowed_packet=1048576;
connect (conn1,localhost,root,,);
connection conn1;
@@ -118,7 +118,7 @@ SELECT HEX(WEIGHT_STRING('ab' AS BINARY(1000000000000000000)));
disconnect conn1;
connection default;
-set global max_allowed_packet=default;
+set global max_allowed_packet=@save_max_allowed_packet;
--echo #
--echo # Start of 10.1 tests