From 25848978334f9682f0b4712bf9d7c8222bab606f Mon Sep 17 00:00:00 2001 From: Elena Stepanova Date: Wed, 19 Oct 2016 03:02:13 +0300 Subject: MDEV-11082 mysql_client_test: test_ps_query_cache fails with group-concat-max-len=1M test_bug14169 was setting session group_concat_max_len=1024 and did not clean it up. Because of that test_ps_query_cache, when run with group-concat-max-len != 1024, had different values in connections, and was inserting into query cache when a hit was expected. Fixed by adding a clean-up for the value in test_bug14169 --- tests/mysql_client_test.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index b95127f954f..ad8933118cc 100644 --- a/tests/mysql_client_test.c +++ b/tests/mysql_client_test.c @@ -15375,6 +15375,9 @@ static void test_bug14169() rc= mysql_query(mysql, "drop table t1"); myquery(rc); + + rc= mysql_query(mysql, "set session group_concat_max_len=@@global.group_concat_max_len"); + myquery(rc); } /* -- cgit v1.2.1