Debian Codegraph @

mysql-test/suite/funcs_1/t/processlist_priv_ps.test

raw
1 ############# suite/funcs_1/t/processlist_priv_ps.test #################
2 # #
3 # Testing of privileges around #
4 # SELECT ... PROCESSLIST/SHOW PROCESSLIST #
5 # #
6 # The no (ps/sp/view/cursor) protocol variant of this test is #
7 # suite/funcs_1/t/a_processlist_priv_no_prot.test. #
8 # #
9 # There is important documentation within #
10 # suite/funcs_1/datadict/processlist_priv.inc #
11 # #
12 # Creation: #
13 # 2007-08-14 mleich Create this test as part of #
14 # WL#3982 Test information_schema.processlist #
15 # #
16 ########################################################################
17
18 # This test does not make sense on the embedded server because processlist
19 # will be empty.
20 --source include/not_embedded.inc
21
22 # One subtest is skipped because of
23 # Bug#30395 strange results after REVOKE PROCESS ON *.* FROM ...
24 let $fixed_bug_30395= 0;
25
26 # The file with expected results fits only to a run with "--ps-protocol".
27 if (`SELECT $SP_PROTOCOL + $CURSOR_PROTOCOL + $VIEW_PROTOCOL > 0
28 OR $PS_PROTOCOL = 0`)
29 {
30 --skip Test requires: ps-protocol enabled, other protocols disabled
31 }
32
33 --source suite/funcs_1/datadict/processlist_priv.inc