~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/t/grant_cache_ps_prot.test

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#################### t/grant_cache_ps_prot.test ##################
 
2
#
 
3
# Test grants with query cache to be run when mysqltest was
 
4
# started with the option "--ps-protocol".
 
5
#
 
6
# Last update:
 
7
# 2007-05-03 ML - Move t/grant_cache.test to include/grant_cache.inc
 
8
#               - Create this test as "--ps-protocol" only variant.
 
9
#
 
10
 
 
11
# We cannot run on embedded server because we use multiple sessions.
 
12
--source include/not_embedded.inc
 
13
 
 
14
--source include/have_query_cache.inc
 
15
 
 
16
# The file with expected results fits only to a run with "--ps-protocol".
 
17
if (`SELECT $SP_PROTOCOL + $CURSOR_PROTOCOL + $VIEW_PROTOCOL > 0
 
18
        OR $PS_PROTOCOL = 0`)
 
19
{
 
20
   --skip Need ps-protocol
 
21
}
 
22
 
 
23
# The main testing script
 
24
--source include/grant_cache.inc