Debian Codegraph @

mysql-test/suite/memcached/r/memc281_set_utf8.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 USE test;
9 DROP TABLE IF EXISTS t1;
10 CREATE TABLE t1 (c1 VARCHAR(30) NOT NULL DEFAULT '',
11 c2 CHAR(120) NOT NULL DEFAULT '',
12 c21 CHAR(60) NOT NULL DEFAULT '',
13 primary key(c1))
14 ENGINE = INNODB DEFAULT CHARSET UTF8;
15 Warnings:
16 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
17 INSERT INTO t1 VALUES ('1', 'Darmstadt', 'City');
18 INSERT INTO t1 VALUES ('2', 'Berlin', 'Mitte');
19 INSERT INTO t1 VALUES ('3', 'Cottbus', 'West');
20 INSERT INTO t1 VALUES ('4', 'München', 'Süd');
21 INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so';
22 Warnings:
23 Warning 1681 'InnoDB Memcached Plugin' is deprecated and will be removed in a future release.
24 SHOW CREATE TABLE t1;
25 Table Create Table
26 t1 CREATE TABLE `t1` (
27 `c1` varchar(30) NOT NULL DEFAULT '',
28 `c2` char(120) NOT NULL DEFAULT '',
29 `c21` char(60) NOT NULL DEFAULT '',
30 PRIMARY KEY (`c1`)
31 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3
32 SELECT c1, c2, c21 FROM t1;
33 c1 c2 c21
34 1 Darmstadt City
35 2 Berlin Mitte
36 3 Cottbus West
37 4 München Süd
38 Here are the memcached results before set:
39 Darmstadt |City
40 Here are the memcached results after set:
41 Beijing |City
42 SELECT c1, c2, c21 FROM t1;
43 c1 c2 c21
44 1 Beijing City
45 2 Berlin Mitte
46 3 Cottbus West
47 4 München Süd
48 DROP TABLE t1;
49 UNINSTALL PLUGIN daemon_memcached;
50 DROP DATABASE innodb_memcache;
51 SET @@global.transaction_isolation= @transaction_isolation;