mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / t / grant_cache_no_prot.test
blob31209f343b9cb79a9f34ae19ab758dd721b770e0
1 #################### t/grant_cache_no_prot.test ###################
3 # Test grants with query cache to be run when mysqltest was started
4 # without any "--<whatever>-protocol".
6 # Last update:
7 # 2007-05-03 ML - Move t/grant_cache.test to include/grant_cache.inc
8 #               - Create this test as non "--<whatever>-protocol" variant.
11 # We cannot run on embedded server because we use multiple sessions.
12 --source include/not_embedded.inc
14 --source include/have_query_cache.inc
16 # The file with expected results fits only to a run without
17 # ps-protocol/sp-protocol/cursor-protocol/view-protocol.
18 if (`SELECT $PS_PROTOCOL + $SP_PROTOCOL + $CURSOR_PROTOCOL
19             + $VIEW_PROTOCOL > 0`)
21    --skip Need normal protocol
24 # The main testing script
25 --source include/grant_cache.inc