Debian Codegraph @

mysql-test/suite/x/include/connection_test_helpers.inc

raw
1 ## Script connection_test_helpers.inc
2 #
3 # Extracted queries form 'connection.test' that
4 # were executed multiple times.
5 #
6 # Usage:
7 #
8 # [--let $skip_show_mysqlx_sessions_variables=1|0|]
9 # --source connection_test_helpers.inc
10 #
11
12 show status like 'Mysqlx_connections_closed';
13 show status like 'Mysqlx_connections_accepted';
14 show status like 'Mysqlx_connection_accept_errors';
15 # show status like 'Mysqlx_connection_errors'; Bug #21782329
16
17 if (!$skip_show_mysqlx_sessions_variables)
18 {
19 show status where
20 `Variable_name`like 'Mysqlx_sessions%' and
21 not `Variable_name` like 'Mysqlx_sessions_fatal_error';
22 }
23
24 --let $skip_show_mysqlx_sessions_variables=