Debian Codegraph @

mysql-test/suite/memcached/r/memc244_w_batch_1.result

raw
1 SET @transaction_isolation= @@global.transaction_isolation;
2 SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
3 INSERT INTO cache_policies VALUES("cache_policy", "innodb_only",
4 "innodb_only", "innodb_only", "innodb_only");
5 INSERT INTO config_options VALUES("separator", "|");
6 INSERT INTO containers VALUES ("desc_t1", "test", "t1",
7 "c1", "c2,c21", "c3", "c4", "c5", "PRIMARY");
8 USE test;
9 DROP TABLE IF EXISTS t1;
10 CREATE TABLE t1 (c1 VARCHAR(32),
11 c2 VARCHAR(1024),
12 c21 VARCHAR(1024),
13 c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
14 ENGINE = INNODB;
15 INSERT INTO t1 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0);
16 INSERT INTO t1 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0);
17 INSERT INTO t1 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0);
18 INSERT INTO t1 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0);
19 INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so';
20 Warnings:
21 Warning 1681 'InnoDB Memcached Plugin' is deprecated and will be removed in a future release.
22 SELECT @@global.daemon_memcached_w_batch_size;
23 @@global.daemon_memcached_w_batch_size
24 3
25 SET @@global.daemon_memcached_w_batch_size=100;
26 ERROR HY000: Variable 'daemon_memcached_w_batch_size' is a read only variable
27 SELECT c1,c2,c21 FROM t1;
28 c1 c2 c21
29 B Berlin Mitte
30 C Cottbus West
31 D Darmstadt City
32 H Hamburg Norderstedt
33 Here are the memcached results with D,B,H,C:
34 Darmstadt|City
35 Berlin|Mitte
36 Hamburg|Norderstedt
37 Cottbus|West
38 SELECT c1,c2,c21 FROM t1;
39 c1 c2 c21
40 B Berlin Mitte
41 C Cottbus West
42 D Darmstadt City
43 H Hamburg Norderstedt
44 Here are the memcached results after set:
45 Essen|Ost
46 SELECT c1,c2,c21 FROM t1;
47 c1 c2 c21
48 B Berlin Mitte
49 C Cottbus West
50 D Darmstadt City
51 E Essen Ost
52 H Hamburg Norderstedt
53 Here are the memcached results after add:
54 Frankfurt|Sachsenhause
55 SELECT c1,c2,c21 FROM t1;
56 c1 c2 c21
57 B Berlin Mitte
58 C Cottbus West
59 D Darmstadt City
60 E Essen Ost
61 F Frankfurt Sachsenhause
62 H Hamburg Norderstedt
63 Here are the memcached results after replace:
64 Frankfurt a. M.|Sachsenhausen
65 SELECT c1,c2,c21 FROM t1;
66 c1 c2 c21
67 B Berlin Mitte
68 C Cottbus West
69 D Darmstadt City
70 E Essen Ost
71 F Frankfurt a. M. Sachsenhausen
72 H Hamburg Norderstedt
73 Here are the memcached results after delete:
74 SELECT c1,c2,c21 FROM t1;
75 c1 c2 c21
76 B Berlin Mitte
77 C Cottbus West
78 D Darmstadt City
79 E Essen Ost
80 H Hamburg Norderstedt
81 Here are the memcached results after add Frankfurt|:
82 Frankfurt|
83 Here are the memcached results after add |Airport:
84 Frankfurt|
85 SELECT c1,c2,c21 FROM t1;
86 c1 c2 c21
87 B Berlin Mitte
88 C Cottbus West
89 D Darmstadt City
90 E Essen Ost
91 F Frankfurt NULL
92 H Hamburg Norderstedt
93 Here are the memcached results after replace Frankfurt a.M.:
94 Frankfurt a. M.|
95 Here are the memcached results after replace Sachsenhausen:
96 |Sachsenhausen
97 SELECT c1,c2,c21 FROM t1;
98 c1 c2 c21
99 B Berlin Mitte
100 C Cottbus West
101 D Darmstadt City
102 E Essen Ost
103 F NULL Sachsenhausen
104 H Hamburg Norderstedt
105 DROP TABLE t1;
106 UNINSTALL PLUGIN daemon_memcached;
107 DROP DATABASE innodb_memcache;
108 SET @@global.transaction_isolation= @transaction_isolation;