~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/memcached_stats/tests/t/query.disabled

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

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
--exec sh $TOP_BUILDDIR/plugin/memcached_functions/start_mc.sh stop
 
7
--exec sh $TOP_BUILDDIR/plugin/memcached_functions/start_mc.sh start
 
8
 
 
9
--disable_warnings
 
10
create schema if not exists data_dictionary;
 
11
--enable_warnings
 
12
 
 
13
--error 1105
 
14
select * from data_dictionary.memcached_stats;
 
15
 
 
16
#
 
17
# Look at the current value of the memcached related system variable
 
18
#
 
19
select variable_name, variable_value
 
20
from data_dictionary.global_variables
 
21
where variable_name = 'memcached_stats_servers';
 
22
 
 
23
#
 
24
# Now try setting it to a certain value
 
25
#
 
26
--replace_result $MC_PORT MC_A_PORT
 
27
--eval set global memcached_stats_servers = 'localhost:$MC_PORT';
 
28
 
 
29
#
 
30
# make sure the system variable has been updated
 
31
#
 
32
--replace_column 2 #
 
33
select variable_name, variable_value
 
34
from data_dictionary.global_variables
 
35
where variable_name = 'memcached_stats_servers';
 
36
 
 
37
--replace_column 2 # 3 # 4 # 5 # 6 # 7 # 8 # 9 # 13 # 14 # 15 # 21 # 22 # 23 # 24 # 25 #
 
38
select * 
 
39
from data_dictionary.memcached_stats;
 
40
 
 
41
#
 
42
# Once the ability to created an embedded server has been added to
 
43
# memcached, we will actually start up an embedded server and perform some
 
44
# queries on it here...
 
45
#
 
46
--exec sh $TOP_BUILDDIR/plugin/memcached_functions/start_mc.sh stop