Debian Codegraph @

mysql-test/suite/memcached/r/memc219_delete.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", "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 c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
13 ENGINE = INNODB;
14 INSERT INTO t1 VALUES ('D', 'Darmstadt', 0, 0, 0);
15 INSERT INTO t1 VALUES ('B', 'Berlin', 0, 0, 0);
16 INSERT INTO t1 VALUES ('C', 'Cottbus', 0, 0 ,0);
17 INSERT INTO t1 VALUES ('H', 'Hamburg', 0, 0, 0);
18 INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so';
19 Warnings:
20 Warning 1681 'InnoDB Memcached Plugin' is deprecated and will be removed in a future release.
21 SELECT c1,c2 FROM t1;
22 c1 c2
23 B Berlin
24 C Cottbus
25 D Darmstadt
26 H Hamburg
27 Add E|Essen:
28 Ok.
29 SELECT c1,c2 FROM t1;
30 c1 c2
31 B Berlin
32 C Cottbus
33 D Darmstadt
34 E Essen
35 H Hamburg
36 Here are the memcached results with E:
37 Essen
38 Delete E|Essen:
39 Ok.
40 Delete E|Essen:
41 Error: E|Essen doesn't exist.
42 SELECT c1,c2 FROM t1;
43 c1 c2
44 B Berlin
45 C Cottbus
46 D Darmstadt
47 H Hamburg
48 Here are the memcached results with E,H:
49 Hamburg
50 Delete D|Darmstadt:
51 Ok.
52 SELECT c1,c2 FROM t1;
53 c1 c2
54 B Berlin
55 C Cottbus
56 H Hamburg
57 Here are the memcached results with H,D:
58 Hamburg
59 DROP TABLE t1;
60 UNINSTALL PLUGIN daemon_memcached;
61 DROP DATABASE innodb_memcache;
62 SET @@global.transaction_isolation= @transaction_isolation;