| 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(32), |
| 11 |
c2 VARCHAR(1024), |
| 12 |
c21 VARCHAR(1024), |
| 13 |
c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1)) |
| 14 |
ENGINE = INNODB; |
| 15 |
INSERT INTO t1 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0); |
| 16 |
INSERT INTO t1 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0); |
| 17 |
INSERT INTO t1 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0); |
| 18 |
INSERT INTO t1 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0); |
| 19 |
INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so'; |
| 20 |
Warnings: |
| 21 |
Warning 1681 'InnoDB Memcached Plugin' is deprecated and will be removed in a future release. |
| 22 |
SELECT c1,c2,c21 FROM t1; |
| 23 |
c1 c2 c21 |
| 24 |
B Berlin Mitte |
| 25 |
C Cottbus West |
| 26 |
D Darmstadt City |
| 27 |
H Hamburg Norderstedt |
| 28 |
Bug 25909540 UNINSTALL PLUGIN DAEMON_MEMCACHED MAKE MYSQLD CRASHED |
| 29 |
|
| 30 |
Connect to the memcached server and do a get |
| 31 |
Uninstall the memcached plugin,with a memcached connection present |
| 32 |
and load the plugin again. |
| 33 |
DROP TABLE t1; |
| 34 |
UNINSTALL PLUGIN daemon_memcached; |
| 35 |
DROP DATABASE innodb_memcache; |
| 36 |
SET @@global.transaction_isolation= @transaction_isolation; |