summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/sizing_default.test
blob: d5fb8be9f77c3d4e0085f5fcf8f03c7b5e9e2521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

--source include/not_embedded.inc
--source include/have_perfschema.inc
--source include/have_64bit.inc
--source include/not_valgrind.inc
--source ../include/have_aligned_memory.inc

# Skip test if not defaults is used.
let $max_open_files_limit= `SELECT @@open_files_limit < 5000`;
if ($max_open_files_limit)
{
  skip Need open_files_limit to be at least 5000;
}
let $max_table_open_cache= `SELECT @@table_open_cache != 2000`;
if ($max_table_open_cache)
{
  skip Need table_open_cache to be exactly 2000;
}
let $max_table_definition_cache= `SELECT @@table_definition_cache != 1400`;
if ($max_table_definition_cache)
{
  skip Need table_definition_cache to be exactly 1400;
}
let $max_connections= `SELECT @@max_connections != 151`;
if ($max_connections)
{
  skip Need max_connections to be exactly 151;
}

--source ../include/sizing_auto.inc