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

« back to all changes in this revision

Viewing changes to mysql-test/t/query_cache_ps_no_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/query_cache_ps_no_prot.test #####################
 
2
#
 
3
# Test grants with query cache to be run when mysqltest was started
 
4
# without any "--<whatever>-protocol".
 
5
#
 
6
# Last update:
 
7
# 2007-05-03 ML - Move t/query_cache_sql_prepare.test to
 
8
#                 include/query_cache_sql_prepare.inc
 
9
#               - Create this test as non "--<whatever>-protocol" variant.
 
10
#
 
11
 
 
12
# We cannot run on embedded server because we use multiple sessions.
 
13
--source include/not_embedded.inc
 
14
 
 
15
--source include/have_query_cache.inc
 
16
 
 
17
# The file with expected results fits only to a run without
 
18
# ps-protocol/sp-protocol/cursor-protocol/view-protocol.
 
19
if (`SELECT $PS_PROTOCOL + $SP_PROTOCOL + $CURSOR_PROTOCOL
 
20
            + $VIEW_PROTOCOL > 0`)
 
21
{
 
22
   --skip Test requires: ps-protocol/sp-protocol/cursor-protocol/view-protocol disabled
 
23
}
 
24
 
 
25
# The main testing script
 
26
--source include/query_cache_sql_prepare.inc