Debian Codegraph @

mysql-test/suite/memcached/r/memc230_mdl_3.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 CREATE USER mysqltest1@localhost;
9 CREATE USER mysqltest2@localhost;
10 connect mysqltest1,localhost,mysqltest1,,;
11 connect mysqltest2,localhost,mysqltest2,,;
12 connection mysqltest1;
13 USE test;
14 DROP TABLE IF EXISTS t1;
15 CREATE TABLE t1 (c1 VARCHAR(32),
16 c2 VARCHAR(1024),
17 c21 VARCHAR(1024),
18 c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
19 ENGINE = INNODB;
20 DROP TABLE IF EXISTS t2;
21 CREATE TABLE t2 (c1 VARCHAR(32),
22 c2 VARCHAR(255),
23 c21 VARCHAR(255),
24 c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
25 ENGINE = INNODB;
26 INSERT INTO t1 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0);
27 INSERT INTO t1 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0);
28 INSERT INTO t1 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0);
29 INSERT INTO t1 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0);
30 INSERT INTO t2 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0);
31 INSERT INTO t2 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0);
32 INSERT INTO t2 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0);
33 INSERT INTO t2 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0);
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 mysqltest2;
39 USE test;
40 SELECT c1,c2,c21 FROM t1;
41 c1 c2 c21
42 B Berlin Mitte
43 C Cottbus West
44 D Darmstadt City
45 H Hamburg Norderstedt
46 connection mysqltest1;
47 send DROP TABLE IF EXISTS t1
48 DROP TABLE IF EXISTS t1;
49 connection mysqltest2;
50 Here are the memcached results with D,B,H,C:
51 SELECT c1,c2,c21 FROM t1;
52 ERROR 42S02: Table 'test.t1' doesn't exist
53 Here are the memcached results after set:
54 Here are the memcached results after add:
55 Here are the memcached results after replace:
56 Here are the memcached results after delete:
57 Here are the memcached results after add Frankfurt|:
58 Here are the memcached results after add |Airport:
59 Here are the memcached results after replace Frankfurt a.M.:
60 Here are the memcached results after replace Sachsenhausen:
61 SELECT c1,c2,c21 FROM t1;
62 ERROR 42S02: Table 'test.t1' doesn't exist
63 connection mysqltest1;
64 reap
65 DROP TABLE t2;
66 connection default;
67 disconnect mysqltest1;
68 disconnect mysqltest2;
69 UNINSTALL PLUGIN daemon_memcached;
70 DROP DATABASE innodb_memcache;
71 DROP USER mysqltest1@localhost;
72 DROP USER mysqltest2@localhost;
73 SET @@global.transaction_isolation= @transaction_isolation;