Debian Codegraph @

mysql-test/suite/memcached/r/memc223_index_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,c11", "c2,c21", "c3", "c4", "c5", "PRIMARY");
8 CREATE USER mysqltest1@localhost;
9 connect mysqltest1,localhost,mysqltest1,,;
10 connection mysqltest1;
11 USE test;
12 DROP TABLE IF EXISTS t1;
13 CREATE TABLE t1 (c1 VARCHAR(32),
14 c11 VARCHAR(32),
15 c2 VARCHAR(1024),
16 c21 VARCHAR(1024),
17 c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1,c11))
18 ENGINE = INNODB;
19 DROP TABLE IF EXISTS t2;
20 CREATE TABLE t2 (c1 VARCHAR(32),
21 c2 VARCHAR(255),
22 c21 VARCHAR(255),
23 c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
24 ENGINE = INNODB;
25 INSERT INTO t1 VALUES ('D','D', 'Darmstadt', 'City', 0, 0, 0);
26 INSERT INTO t1 VALUES ('B','B', 'Berlin', 'Mitte', 0, 0, 0);
27 INSERT INTO t1 VALUES ('C','C', 'Cottbus', 'West', 0, 0 ,0);
28 INSERT INTO t1 VALUES ('H','H', 'Hamburg', 'Norderstedt', 0, 0, 0);
29 INSERT INTO t2 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0);
30 INSERT INTO t2 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0);
31 INSERT INTO t2 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0);
32 INSERT INTO t2 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0);
33 connection default;
34 INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so';
35 Warnings:
36 Warning 1681 'InnoDB Memcached Plugin' is deprecated and will be removed in a future release.
37 connection mysqltest1;
38 USE test;
39 SELECT c1,c11,c2,c21 FROM t1;
40 c1 c11 c2 c21
41 B B Berlin Mitte
42 C C Cottbus West
43 D D Darmstadt City
44 H H Hamburg Norderstedt
45 Here are the memcached results with D,B,H,C:
46 SELECT c1,c11,c2,c21 FROM t1;
47 c1 c11 c2 c21
48 B B Berlin Mitte
49 C C Cottbus West
50 D D Darmstadt City
51 H H Hamburg Norderstedt
52 Here are the memcached results with D,B,H,C:
53 SELECT c1,c11,c2,c21 FROM t1;
54 c1 c11 c2 c21
55 B B Berlin Mitte
56 C C Cottbus West
57 D D Darmstadt City
58 H H Hamburg Norderstedt
59 Here are the memcached results after set:
60 SELECT c1,c11,c2,c21 FROM t1;
61 c1 c11 c2 c21
62 B B Berlin Mitte
63 C C Cottbus West
64 D D Darmstadt City
65 H H Hamburg Norderstedt
66 Here are the memcached results after add:
67 SELECT c1,c11,c2,c21 FROM t1;
68 c1 c11 c2 c21
69 B B Berlin Mitte
70 C C Cottbus West
71 D D Darmstadt City
72 H H Hamburg Norderstedt
73 Here are the memcached results after replace:
74 SELECT c1,c11,c2,c21 FROM t1;
75 c1 c11 c2 c21
76 B B Berlin Mitte
77 C C Cottbus West
78 D D Darmstadt City
79 H H Hamburg Norderstedt
80 Here are the memcached results after delete:
81 SELECT c1,c11,c2,c21 FROM t1;
82 c1 c11 c2 c21
83 B B Berlin Mitte
84 C C Cottbus West
85 D D Darmstadt City
86 H H Hamburg Norderstedt
87 Here are the memcached results after add Frankfurt|Airport:
88 SELECT c1,c11,c2,c21 FROM t1;
89 c1 c11 c2 c21
90 B B Berlin Mitte
91 C C Cottbus West
92 D D Darmstadt City
93 H H Hamburg Norderstedt
94 Here are the memcached results after replace Frankfurt a.M|Sachsenhausen.:
95 SELECT c1,c11,c2,c21 FROM t1;
96 c1 c11 c2 c21
97 B B Berlin Mitte
98 C C Cottbus West
99 D D Darmstadt City
100 H H Hamburg Norderstedt
101 DROP TABLE t1;
102 DROP TABLE t2;
103 connection default;
104 disconnect mysqltest1;
105 UNINSTALL PLUGIN daemon_memcached;
106 DROP DATABASE innodb_memcache;
107 DROP USER mysqltest1@localhost;
108 SET @@global.transaction_isolation= @transaction_isolation;