Skip to content

Commit

Permalink
MDEV-11082 mysql_client_test: test_ps_query_cache fails with group-co…
Browse files Browse the repository at this point in the history
…ncat-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
  • Loading branch information
elenst committed Oct 19, 2016
1 parent fd1f507 commit 2584897
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/mysql_client_test.c
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit 2584897

Please sign in to comment.