Debian Codegraph @

mysql-test/suite/memcached/r/memc231_mdl_4.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_v1", "test", "v1",
7 "vc1", "vc2,vc21", "vc3", "vc4", "vc5", "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 c2 VARCHAR(1024),
15 c21 VARCHAR(1024),
16 c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
17 ENGINE = INNODB;
18 DROP TABLE IF EXISTS t2;
19 CREATE TABLE t2 (c1 VARCHAR(32),
20 c2 VARCHAR(255),
21 c21 VARCHAR(255),
22 c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
23 ENGINE = INNODB;
24 INSERT INTO t1 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0);
25 INSERT INTO t1 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0);
26 INSERT INTO t1 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0);
27 INSERT INTO t1 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0);
28 INSERT INTO t2 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0);
29 INSERT INTO t2 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0);
30 INSERT INTO t2 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0);
31 INSERT INTO t2 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0);
32 CREATE VIEW v1 AS SELECT t1.c1 AS vc1,t1.c2 AS vc2,t2.c21 AS vc21,
33 t1.c3 AS vc3,t1.c4 AS vc4,t1.c5 AS vc5 FROM t1,t2 WHERE t1.c1=t2.c1;
34 connection default;
35 INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so';
36 Warnings:
37 Warning 1681 'InnoDB Memcached Plugin' is deprecated and will be removed in a future release.
38 connection mysqltest1;
39 USE test;
40 SELECT vc1,vc2,vc21 FROM v1;
41 vc1 vc2 vc21
42 B Berlin Mitte
43 C Cottbus West
44 D Darmstadt City
45 H Hamburg Norderstedt
46 Here are the memcached results with D,B,H,C:
47 Here are the memcached results after set:
48 Here are the memcached results after add:
49 Here are the memcached results after replace:
50 Here are the memcached results after delete:
51 Here are the memcached results after add Frankfurt|:
52 Here are the memcached results after add |Airport:
53 Here are the memcached results after replace Frankfurt a.M.:
54 Here are the memcached results after replace Sachsenhausen:
55 DROP VIEW v1;
56 DROP TABLE t1;
57 DROP TABLE t2;
58 connection default;
59 disconnect mysqltest1;
60 UNINSTALL PLUGIN daemon_memcached;
61 DROP DATABASE innodb_memcache;
62 DROP USER mysqltest1@localhost;
63 SET @@global.transaction_isolation= @transaction_isolation;