~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/memcached_stats/t/query.test

  • Committer: Brian Aker
  • Date: 2009-10-07 04:06:47 UTC
  • mfrom: (1144.5.15 memc-is-tables)
  • Revision ID: brian@gaz-20091007040647-1vl4f42gs9ggfu8w
Merging Padraig

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# perform a query on the memcached I_S statistics tables before the
 
3
# memcached related system variable has been set. Both of these queries
 
4
# should return 0 rows
 
5
#
 
6
 
 
7
select * 
 
8
from information_schema.memcached_stats;
 
9
 
 
10
select *
 
11
from information_schema.memcached_analysis;
 
12
 
 
13
#
 
14
# Look at the current value of the memcached related system variable
 
15
#
 
16
select variable_name, variable_value
 
17
from information_schema.global_variables
 
18
where variable_name = 'memcached_stats_servers';
 
19
 
 
20
#
 
21
# Now try setting it to a certain value
 
22
#
 
23
set global memcached_stats_servers = 'localhost:11211';
 
24
 
 
25
#
 
26
# make sure the system variable has been updated
 
27
#
 
28
select variable_name, variable_value
 
29
from information_schema.global_variables
 
30
where variable_name = 'memcached_stats_servers';
 
31
 
 
32
#
 
33
# Once the ability to created an embedded server has been added to
 
34
# memcached, we will actually start up an embedded server and perform some
 
35
# queries on it here...
 
36
#