Debian Codegraph @

mysql-test/suite/memcached/r/memc229_mdl_2.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 ALTER TABLE t1 DROP c21
48 ALTER TABLE t1 DROP c21;
49 reap
50 Here are the memcached results with D,B,H,C:
51 Here are the memcached results after set:
52 Here are the memcached results after add:
53 Here are the memcached results after replace:
54 Here are the memcached results after delete:
55 Here are the memcached results after add Frankfurt|:
56 Here are the memcached results after add |Airport:
57 Here are the memcached results after replace Frankfurt a.M.:
58 Here are the memcached results after replace Sachsenhausen:
59 SHOW CREATE TABLE t1;
60 Table Create Table
61 t1 CREATE TABLE `t1` (
62 `c1` varchar(32) NOT NULL,
63 `c2` varchar(1024) DEFAULT NULL,
64 `c3` int DEFAULT NULL,
65 `c4` bigint unsigned DEFAULT NULL,
66 `c5` int DEFAULT NULL,
67 PRIMARY KEY (`c1`)
68 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
69 SELECT c1,c2,c21 FROM t1;
70 ERROR 42S22: Unknown column 'c21' in 'field list'
71 DROP TABLE t1;
72 DROP TABLE t2;
73 connection default;
74 disconnect mysqltest1;
75 disconnect mysqltest2;
76 UNINSTALL PLUGIN daemon_memcached;
77 DROP DATABASE innodb_memcache;
78 DROP USER mysqltest1@localhost;
79 DROP USER mysqltest2@localhost;
80 SET @@global.transaction_isolation= @transaction_isolation;